NPM install from branch on private repo

Something you need a specific branch of a repository that has not been published yet.


For example:

// this URL

// becomes in your package.json

// If that doesn't work, try:
npm install --save git+ssh://

Swap HTTP for HTTPS, depending on your repo location

Leave a Reply

Your email address will not be published.


This site uses Akismet to reduce spam. Learn how your comment data is processed.