NPMパッケージはGithubのリポジトリから直接インストールできます。なお、非公開リポジトリからインストールしようとすると、ブラウザが起動し認証を求められます。 HTTPSのクローンURLからインストールする場合 注. URLの前に git+ プロトコルを付けます。 $ npm install git+https://github.com/username/repo-name.git SSHのクローンURLからインストールする場合 注. URLの前に git+ssh:// プロトコルを付けます。 $ npm install git+ssh://git@github.com:username/repo-name.git アンインストールする アンインストールは通常通りです。 $ npm uninstall package-name 参考資料 npm-install | npm Docs:
![NPMパッケージをGithubからインストールする方法](https://cdn-ak-scissors.b.st-hatena.com/image/square/8d71ff5111e05619a10d29bb40d7aebaa75c8fbc/height=288;version=1;width=512/https%3A%2F%2Fs0.wp.com%2Fi%2Fblank.jpg)