Skip to content

Instantly share code, notes, and snippets.

@kissifrot
Forked from GavinJoyce/gist:4f81d0bf879dad6b203e
Created January 28, 2016 15:18
Show Gist options
  • Save kissifrot/3f137e7e36c9e0b568e5 to your computer and use it in GitHub Desktop.
Save kissifrot/3f137e7e36c9e0b568e5 to your computer and use it in GitHub Desktop.
speeding up `npm install` by disabling the progress bar
with `react-native`:
npm set progress=false && rm -rf ~/.npm && rm -rf node_modules && npm cache clean && time npm install
npm install 83.72s user 26.03s system 100% cpu 1:49.32 total
npm set progress=true && rm -rf ~/.npm && rm -rf node_modules && npm cache clean && time npm install
npm install 199.30s user 27.32s system 91% cpu 4:08.29 total
--
npm set progress=false && rm -rf ~/.npm && rm -rf node_modules && time npm install
npm install 70.27s user 22.12s system 120% cpu 1:16.85 total
npm set progress=true && rm -rf ~/.npm && rm -rf node_modules && time npm install
npm install 202.59s user 26.47s system 105% cpu 3:36.52 total
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment