Install latest/stable of ghgrab

Ubuntu 16.04 or later?

Make sure snap support is enabled in your Desktop store.


Install using the command line

sudo snap install ghgrab

Don't have snapd? Get set up for snaps.

Channel Version Published

Details for ghgrab

Package name

  • ghgrab

License

  • MIT

Last updated

  • Today - latest/stable
  • Today - latest/candidate

Websites


Contact


Source code


Report a bug


Report a Snap Store violation

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 Published 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.