First list all your installed NPM modules with:
$ npm list -g --depth=0 > installNPMModules.sh
Then you could just multiline edit or regex stuff from:
├── now@5.0.0
into
npm i -g now@5.0.0
First list all your installed NPM modules with:
$ npm list -g --depth=0 > installNPMModules.sh
Then you could just multiline edit or regex stuff from:
├── now@5.0.0
into
npm i -g now@5.0.0