Skip to content

Instantly share code, notes, and snippets.

@goddoe
Created September 21, 2023 14:12
Show Gist options
  • Star 0 You must be signed in to star a gist
  • Fork 0 You must be signed in to fork a gist
  • Save goddoe/470b08a52bb9cc2364cfd9cb792f0f79 to your computer and use it in GitHub Desktop.
Save goddoe/470b08a52bb9cc2364cfd9cb792f0f79 to your computer and use it in GitHub Desktop.
pip_install_fast.sh
Tested this works https://stackoverflow.com/a/57014278/6147756
Single command:
MAKEFLAGS="-j$(nproc)" pip install xxx
Enable for all commands in a script:
export MAKEFLAGS="-j$(nproc)"
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment