npm-git-install
Facilitates the installation of npm packages directly from GitHub repositories, enabling access to private or unreleased versions.
Install this skill
Security score
The npm-git-install skill was audited on Mar 7, 2026 and we found 18 security issues across 4 threat categories, including 1 high-severity. Review the findings below before installing.
Categories Tested
Security Issues
Template literal with variable interpolation in command context
| 169 | ```bash |
Template literal with variable interpolation in command context
| 183 | ```bash |
Access to hidden dotfiles in home directory
| 118 | | nvm (macOS) | `~/.nvm/versions/node/vX.X.X/lib/node_modules/` | `~/.nvm/versions/node/vX.X.X/bin/` | |
Access to hidden dotfiles in home directory
| 160 | cat ~/.ssh/id_ed25519.pub |
Access to hidden dotfiles in home directory
| 184 | # ~/.npmrc |
Access to hidden dotfiles in home directory
| 199 | mkdir ~/.npm-global |
Access to hidden dotfiles in home directory
| 200 | npm config set prefix '~/.npm-global' |
Access to hidden dotfiles in home directory
| 201 | echo 'export PATH=~/.npm-global/bin:$PATH' >> ~/.bashrc |
Access to hidden dotfiles in home directory
| 202 | source ~/.bashrc |
Access to SSH directory
| 160 | cat ~/.ssh/id_ed25519.pub |
Access to system keychain/keyring
| 227 | git config --global credential.helper osxkeychain |
External URL reference
| 174 | npm install git+https://<token>@github.com/owner/private-repo.git |
External URL reference
| 178 | npm install git+https://${GITHUB_TOKEN}@github.com/owner/private-repo.git |
External URL reference
| 215 | # https://git-scm.com/download/win |
External URL reference
| 237 | npm install git+https://... --verbose 2>&1 | tee npm-install.log |
External URL reference
| 248 | npm install -g git+https://... |
External URL reference
| 359 | - [How To Install NPM Packages Directly From GitHub](https://www.warp.dev/terminus/npm-install-from-github) |
External URL reference
| 360 | - [npm install from GitHub - Stack Overflow](https://stackoverflow.com/questions/17509669/how-to-install-an-npm-package-from-github-directly) |
Install this skill with one command
/learn @supercent-io/npm-git-install