ghgrab
Install latest/stable of ghgrab
Ubuntu 16.04 or later?
Make sure snap support is enabled in your Desktop store.
Details for ghgrab
Package name
- ghgrab
License
- MIT
Last updated
- Today - latest/stable
- Today - latest/candidate
Websites
Contact
Source code
Report a bug
External link warning
You are about to open
Do you wish to proceed?
Report a Snap Store violation
Report ghgrab for a Snap Store violation
Snap Store Violation Report submitted successfully
Thank you for your report. Information you provided will help us investigate further.
Error submitting report
There was an error while sending your report. Please try again later.
Share this snap
Generate an embeddable card to be shared on external websites.
Browse and download files from GitHub, GitLab and other forges
ghgrab browses repositories on GitHub, GitLab, Codeberg, Gitea and Forgejo from a terminal interface, and downloads single files, folders or GitHub release assets without cloning. Its agent commands print JSON for scripts, and it can run as an MCP server for coding assistants.
Examples
ghgrab
ghgrab https://github.com/rust-lang/rust --cwd
ghgrab rel sharkdp/bat --extract --out ./bat
ghgrab agent tree https://github.com/rust-lang/rust
File access
ghgrab saves downloads in your home directory. To also save to USB drives and other removable media (/media, /mnt), run:
sudo snap connect ghgrab:removable-media
| Revision | Channel | Version | Build | Commit | Download SBOM |
|---|
The build and commit information is derived from build infrastructure records.
Install ghgrab on your Linux distribution
Choose your Linux distribution to get detailed installation instructions. If yours is not shown, get more details on the installing snapd documentation.