npm specify git branch code example Example: npm install from github branch npm install git://github.com/shakacode/bootstrap-loader.git#v1 --save