Created
December 20, 2019 09:48
-
-
Save iforwms/03a22cc0ac1092656b3f748fadaf19c4 to your computer and use it in GitHub Desktop.
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
# Get the latest from GitHub, public repo: | |
$ npm install username/project-name --save-dev | |
# GitHub, private repo: | |
$ npm install git+https://token:x-oauth-basic@github.com/username/project-name.git#master | |
$ npm install git+ssh://git@github.com/username/project-name.git#master | |
# … or from Bitbucket, public repo: | |
$ npm install git+ssh://git@bitbucket.org/username/project-name.git#master --save-dev | |
# Bitbucket, private repo: | |
$ npm install git+https://username:password@bitbucket.org/username/project-name.git#master | |
$ npm install git+ssh://git@bitbucket.org/username/project-name.git#master | |
# … or, if you published as npm package: | |
$ npm install project-name --save-dev |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment