Its always to time-consuming & risky task to update/upgrade Node.Js to latest version without impacting any JavaScript Frameworks like Angular, React.JS, Vue.JS, Svelte.JS, Gatsby.JS projects.

I have found an alternative to the manual process to little bit automated process.

For that… I have started exploring “SCOOP“.

You all might be wondering.

What is Scoop

While Scoop can fetch and install packages from the internet to get you up and running with the open-source tools you need it on Windows machine, it feels a lot more like the venerable Homebrew. Homebrew was one of Scoop’s inspirations—and it shows, with a one-command installation (two if you need to make a small Windows config change) that gets you 100% auto setup / guided.

The key difference between Scoop and Chocolatey that made me a Scoop fan was the fact that, by default, it installs all its packages into a scoop directory right off your user folder. This allows it to run without ever asking for administrator permissions, much as Homebrew does.

Getting started with Scoop involves a one-liner in Windows PowerShell:

PowerCell Command Line

iex (new-object net.webclient).downloadstring('')

If you haven’t done, you’ll need to make a small configuration change—and the above one-liner will provide you guideline how to. The Scoop-recommended level of RemoteSigned is satisfactory for my needs, but I encourage you to read up on execution policies before making that decision for yourself.

Installing Node.JS in Windows 10 with Scoop

Installing CLI from Scoop’s repository is simple. Dependency tracking is handled for you. Just type the following command line for example:

Windows PowerShell Command Line for Installing Node.JS

scoop install nodejs

Command line for Node.JS update/maintaining

scoop update nodejs

For example, If you have multiple CLI install like Node.JS / Yarn etc… and wanna update all in the single command line.

scoop update *

Scoop Fingertips Benefits

  • Don’t know what you want to install? Scoop has a handy search command can directly search package/CLI from Windows PowerShell

For Example

scoop search ssh

Whenever you want to uninstall

Windows PowerShell Command Line for Uninstall Node.JS

scoop uninstall nodejs


=> Alternative to Command Line with NPM <=

Open command prompt via windows key + r or startup menu command line and open with administrator mode/rights.

1st update NPM via below command line

npm install -g npm stable

2nd update node.js,

npm install -g node or npm install -g n

check after version installation,

node --version or node -v


Thank you for reading my article on maintaining Node.JS in windows systems.

feel free to share your review in the comments box.