← ClaudeAtlas

npm-git-installlisted

Install npm packages directly from GitHub repositories using git URLs. Use when installing packages from private repos, specific branches, or unreleased versions not yet on npm registry.
aiskillstore/marketplace · ★ 329 · Code & Development · score 82
Install: claude install-skill aiskillstore/marketplace
# npm install Git Repository Guide Covers how to install npm packages directly from GitHub repositories. Useful for installing packages not in the npm registry, specific branches, or private repositories. ## When to use this skill - **Packages Not on npm**: Install packages not yet published - **Specific Branch/Tag**: Install main, develop, specific release tags - **Private Repositories**: Install packages within an organization - **Forked Packages**: Use a modified fork version - **Test Latest Commits**: Test the latest code before a release --- ## 1. Installation Commands ### Basic Syntax ```bash npm install git+https://github.com/<owner>/<repo>.git#<branch|tag|commit> ``` ### HTTPS Method (Common) ```bash # Specific branch npm install -g git+https://github.com/JEO-tech-ai/supercode.git#main # Specific tag npm install git+https://github.com/owner/repo.git#v1.0.0 # Specific commit npm install git+https://github.com/owner/repo.git#abc1234 # Default branch (omit #) npm install git+https://github.com/owner/repo.git ``` ### SSH Method (With SSH Key Setup) ```bash npm install -g git+ssh://git@github.com:JEO-tech-ai/supercode.git#main ``` ### Verbose Logging ```bash npm install -g git+https://github.com/JEO-tech-ai/supercode.git#main --verbose ``` --- ## 2. npm install Flow What npm performs when installing from a Git URL: ``` 1. Git Clone └─ Clone repository at specified branch (#main) ↓ 2. Install Dependencies └─ Install dependencies in package.