xxxxxxxxxx
npm i github:<UserName>/<RepoName>
package.json
{
"dependencies": {
"name": "github:<UserName>/<RepoName>"
}
}
xxxxxxxxxx
npm install git+ssh://git@github.com:Siddhu2/calculator-chatbot.git#master
xxxxxxxxxx
$ npm login --registry=https://npm.pkg.github.com
> Username: USERNAME
> Password: TOKEN
> Email: PUBLIC-EMAIL-ADDRESS
xxxxxxxxxx
If Git is not installed, we can try:
npm install --save https://github.com/Amitesh/gulp-rev-all/tarball/master
xxxxxxxxxx
To install from GitHub, you can also do
npm install visionmedia/express
Or
npm install visionmedia/express#branch
xxxxxxxxxx
yarn add git@github.com:myGitHub/dynamic-checkbox-input.git#master