# 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
npm #npm #git
Be the first to comment
You can use [html][/html], [css][/css], [php][/php] and more to embed the code. Urls are automatically hyperlinked. Line breaks and paragraphs are automatically generated.