You can also do npm install visionmedia/express to install from Github
or
npm install visionmedia/express#branch
There is also support for installing directly from a Gist, Bitbucket, Gitlab, and a number of other specialized formats. Look at the npm install documentation for them all.