---
title: Install ghgrab on Linux | Snap Store
description: Get the latest version of ghgrab for Linux - Browse and download files
  from GitHub, GitLab and other forges
url: https://snapcraft.io/ghgrab
---

# ghgrab

[Sid-Ali Teir (sidaliteir)](https://snapcraft.io/publisher/sidaliteir "View all snaps from Sid-Ali Teir (sidaliteir)")

* [Sid-Ali Teir (sidaliteir)](https://snapcraft.io/publisher/sidaliteir "View all snaps from Sid-Ali Teir (sidaliteir)")
* [Development](https://snapcraft.io/search?categories=development)
* [Utilities](https://snapcraft.io/search?categories=utilities)

latest/stable 2.3.1

Install latest/stable of ghgrab

---

**Install using the command line**

```
sudo snap install ghgrab
```

Don't have snapd? [Get set up for snaps](https://snapcraft.io/docs/installing-snapd).

---

### Package name

* ghgrab

---

### License

* MIT

---

### Last updated

* Today - latest/stable
* Today - latest/candidate

---

### Websites

* [ghgrab.readthedocs.io](https://ghgrab.readthedocs.io/ "https://ghgrab.readthedocs.io/")

---

### Contact

* [github.com/sidalit/ghgrab-snap/issues](https://github.com/sidalit/ghgrab-snap/issues "https://github.com/sidalit/ghgrab-snap/issues")

---

### Source code

* [github.com/abhixdd/ghgrab](https://github.com/abhixdd/ghgrab "https://github.com/abhixdd/ghgrab")
* [github.com/sidalit/ghgrab-snap](https://github.com/sidalit/ghgrab-snap "https://github.com/sidalit/ghgrab-snap")

---

### Report a bug

* [github.com/abhixdd/ghgrab/issues](https://github.com/abhixdd/ghgrab/issues "https://github.com/abhixdd/ghgrab/issues")
* [github.com/sidalit/ghgrab-snap/issues](https://github.com/sidalit/ghgrab-snap/issues "https://github.com/sidalit/ghgrab-snap/issues")

---

##### Report a Snap Store violation

* [Report this Snap](https://snapcraft.io/ghgrab#report-snap-modal)

---

* [Description](https://snapcraft.io/ghgrab#tab-description)
* [Security](https://snapcraft.io/ghgrab#tab-security)

#### 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
```

---

## 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](https://snapcraft.io/docs/installing-snapd).

[### Arch Linux](https://snapcraft.io/install/ghgrab/arch)

[### CentOS](https://snapcraft.io/install/ghgrab/centos)

[### Debian](https://snapcraft.io/install/ghgrab/debian)

[### elementary OS](https://snapcraft.io/install/ghgrab/elementary)

[### Fedora](https://snapcraft.io/install/ghgrab/fedora)

[### KDE Neon](https://snapcraft.io/install/ghgrab/kde-neon)

[### Kubuntu](https://snapcraft.io/install/ghgrab/kubuntu)

[### Manjaro](https://snapcraft.io/install/ghgrab/manjaro)

[### Pop!\_OS](https://snapcraft.io/install/ghgrab/pop)

[### openSUSE](https://snapcraft.io/install/ghgrab/opensuse)

[### Red Hat Enterprise Linux](https://snapcraft.io/install/ghgrab/rhel)

[### Ubuntu](https://snapcraft.io/install/ghgrab/ubuntu)

[### Raspberry Pi](https://snapcraft.io/install/ghgrab/raspbian)
