NPM - update to specific version

0 votes
320 views
added Mar 20, 2019 in NPM by LC Marshal Captain (25,790 points)
// @ followed by your desired version
npm install -g npm@latest
npm install -g [email protected] 

 

1 Response

0 votes
responded Jan 23, 2020 by lcjr First Warrant Officer (11,430 points)
// for non-global
npm i [email protected]

 

lazacode.org - Malaysia's programming knowledge sharing platform, where everyone can share their finding as reference to others.
...