wmakeev
9/25/2016 - 12:05 PM

npm #npm #git

npm #npm #git

# https://docs.npmjs.com/cli/install

# 1
npm install <protocol>://[<user>[:<password>]@]<hostname>[:<port>][:][/]<path>[#<commit-ish>]
## Examples
npm install git+https://git@github.com/visionmedia/express.git
npm install git+https://git@github.com/visionmedia/express.git#branch

# 2
npm install <githubname>/<githubrepo>[#<commit-ish>]
npm install github:<githubname>/<githubrepo>[#<commit-ish>]
## Examples
npm install mygithubuser/myproject
npm install github:mygithubuser/myproject