npm install github:user/repo

Category: Node.js & npm/yarn

npm install github:user/repo

Install a package directly from a GitHub repository

Installs a package directly from a GitHub repository. Useful for using a fork or a package that isn't published to the npm registry.
Looking for more? Search all 7,657 commands — works offline, in English or Spanish, and fixes typos.