CLI tool to search GitHub repositories, download source & releases for your system, and instantly set up, then install dependencies and open code editor.
npm install -g git0
bun install -g git0
- Search GitHub repositories by name with fuzzy matching
- Download repositories directly from GitHub URLs or owner/repo shortcuts. Skip the manual git clone, cd, install dance
- Get Releases instantly download latest release for your system or all systems
- Automatic dependency installation and installation for multiple project types
- Smart IDE integration - automatically opens projects in your preferred editor
- Cross-platform support - works on Windows, macOS, and Linux
- Conflict resolution - handles directory naming conflicts automatically
- Faster than git - skips
.git
history and uncompresses while downloading
# Direct download from GitHub URL
## g and git0 both work
g https://github.com/facebook/react
# Search for repositories by name
g react starter
# Download using owner/repo shorthand
git0 facebook/react
# Use git0 without installing, (only node needed)
# (copy this line into your project's readme to help others setup)
npx git0 facebook/react
git0 automatically detects and sets up the following project types:
Project Type | Detection | Installation |
---|---|---|
Node.js | package.json |
bun install (fallback to npm install ) |
Docker | Dockerfile , docker-compose.yml |
docker-compose up -d or docker build |
Python | requirements.txt , setup.py |
Virtual environment + pip install |
Rust | Cargo.toml |
cargo build |
Go | go.mod |
go mod tidy |
git0 automatically detects and opens projects in your preferred IDE:
- Cursor (
cursor
) - Windsurf (
windsurf
) - VS Code (
code
) - Code Server (
code-server
) - Neovim (
nvim
) - Webstorm (
webstorm
)
- Repository is downloaded to your current directory
- Project type is detected automatically
- Dependencies are installed based on project type
- IDE is launched automatically (if available)
- Development server starts (for Node.js projects)
If a directory with the same name exists, git0 automatically appends a number (e.g., react-2
, react-3
).
For higher API rate limits, set your GitHub token:
export GITHUB_TOKEN=your_github_token_here
Without a token, you're limited to 60 requests per hour. With a token, you get 5,000 requests per hour.