-
-
Save kissifrot/3f137e7e36c9e0b568e5 to your computer and use it in GitHub Desktop.
speeding up `npm install` by disabling the progress bar
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
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