$ npm --cache-min 9999999 install
May be you are working in a plane,
or in a train,
just waiting in the airport,
or in a conference and wifi
But you need to do an
The easiest trick is the following: install packages from your cache. Probably you already have all packages and you do not care about updates.
## How it works?
Shortcut in your
Add an alias for offline npm support if you are using bash (Mac or Linux), :
alias npm-offline="npm --cache-min 9999999 "
Use it to install as follows:
$ npm-offline install
--cache-min flag to ensure faster
alias npm="npm --cache-min 9999999 "