How to install projects from GitHub using NPM
Have you ever wondered how to install projects from GitHub using NPM that are not registered with NPM?
The problem is that NPM only supports installing packages from tarballs and GitHub only provides downloading projects as zip files. Luckily GitHub still offers the tarballs if you know the URL.
Open your shell and run the following command (replace the author, project and the tag name with the correct details):
npm install http://github.com.com/author/project/tarball/tagname
This will install the project from GitHub using NPM just like any other NPM module.
Written by Christoffer Niska
Related protips
Have a fresh tip? Share with Coderwall community!
Post
Post a tip
Best
#Npm
Authors
Sponsored by #native_company# — Learn More
#native_title#
#native_desc#