Posts

Showing posts from August, 2024

How to UNINSTALL NODE js completely (windows 10/11)

Uninstall Node.js       Run npm cache clean --force  Uninstall node from {Apps > Installed Apps} in your settings.  Look for these folders and remove everything from here: C:\Program Files (x86)\Nodejs     C:\Program Files\Nodejs     C:\Users\{User}\AppData\Roaming\npm   (or   %appdata%\npm) C:\Users\{User}\AppData\Roaming\npm-cache   (or   %appdata%\npm-cache )                            C:\Users\{User}\.npmrc         C:\Users\{User}\AppData\Local\Temp\npm-* Check your %PATH%  Environment Variable and remove node/npm if it exist.     Run where node in your cmd , you will get the path/direcectory of node               remove the path completely (and its parent directory).

HOW TO SETUP node.js and NPM on windows (best way)

   HOW TO SETUP node.js and NPM on windows (best way) STEP 1 :   Download nvm-setup exe:           nvm-setup.exe (or) Visit here: https://github.com/coreybutler/nvm-windows/releases           and download the nvm-setup.exe file STEP 2 : Install the setup.exe file.           After finishing nvm  installation , open cmd and type:                                          nvm -v Now you will be able to see the installed nvm version.           This means that nvm is correctly installed on your machine. STEP 3 : To install the latest LTS version of node.  Run: nvm install lts                                ...