Skip to content

Instantly share code, notes, and snippets.

@GenevieveBuckley
Last active December 17, 2019 00:22
Show Gist options
  • Save GenevieveBuckley/e1aaf603c1a84c09ec6afe8c72e97926 to your computer and use it in GitHub Desktop.
Save GenevieveBuckley/e1aaf603c1a84c09ec6afe8c72e97926 to your computer and use it in GitHub Desktop.
pip install code directly from a github repository
# pip install code directly from github with:
pip install git+https://github.com/path/to/repo
pip install git+https://github.com/path/to/repo.git
# Note: the repository must include setup.py file to be pip installable.
# You can specify a specific repository branch with:
pip install git+https://github.com/path/to/repo@branchname
pip install git+https://github.com/path/to/repo.git@branchname
# Or you can specify a particular tag (useful for choosing a specific release):
pip install git+https://github.com/path/to/[email protected]
pip install git+https://github.com/path/to/[email protected]
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment