# Install restic with Homebrew, apk, chocolatey, apt, dnf, MacPorts, Nix, pacman, scoop, winget, zypper

Fast, efficient and secure backup program. Version 0.19.0 via Homebrew; verified 2026-06-09.

## Install

```sh
sudo av install brew:restic
```

Additional install commands:

### macOS

- Homebrew (100%):

```sh
brew install restic
```

  Evidence: local Homebrew formula metadata

- MacPorts (94%):

```sh
sudo port install restic
```

  Evidence: MacPorts ports tree: sysutils/restic/Portfile from https://api.github.com/repos/macports/macports-ports/git/trees/master?recursive=1

### Linux

- apk (92%):

```sh
sudo apk add restic
```

  Evidence: Alpine Linux edge package indexes: restic from https://dl-cdn.alpinelinux.org/alpine/edge/community/x86_64/APKINDEX.tar.gz

- Debian apt (92%):

```sh
sudo apt install restic
```

  Evidence: Debian stable package indexes: restic from https://deb.debian.org/debian/dists/stable/main/binary-amd64/Packages.xz

- dnf (92%):

```sh
sudo dnf install restic
```

  Evidence: Fedora Rawhide package metadata: restic from https://dl.fedoraproject.org/pub/fedora/linux/development/rawhide/Everything/x86_64/os/repodata/e5ca8ce900cd68f5419e1c39ae517343100b306336cbaeb70a3c153121d95094-primary.xml.zst

- Nix (92%):

```sh
nix profile install nixpkgs#restic
```

  Evidence: nixpkgs package indexes: pkgs/by-name/re/restic/package.nix from https://api.github.com/repos/NixOS/nixpkgs/git/trees/master?recursive=1

- pacman (92%):

```sh
sudo pacman -S restic
```

  Evidence: Arch Linux sync databases: restic from https://geo.mirror.pkgbuild.com/extra/os/x86_64/extra.db.tar.gz

- zypper (92%):

```sh
sudo zypper install restic
```

  Evidence: openSUSE Tumbleweed package metadata: restic from https://download.opensuse.org/tumbleweed/repo/oss/repodata/be8d3611d25469107f32075a1697e69ec57a2b850b42348a658cc671ad5ec2b50760d02c3e59524d50da9a11d5be799bdaffba2e166e8ca8858512e3c0bd665d-primary.xml.zst

### Windows

- Chocolatey (92%):

```sh
choco install restic
```

  Evidence: Chocolatey community package catalog: restic from http://community.chocolatey.org/api/v2/Packages?$filter=IsLatestVersion&$select=Id&$top=1000&$skiptoken='9.1916','tektoncd-cli'

- Scoop (92%):

```sh
scoop install main/restic
```

  Evidence: Scoop official bucket manifest trees: bucket/restic.json from https://api.github.com/repos/ScoopInstaller/Main/git/trees/master?recursive=1

- winget (92%):

```sh
winget install --id restic.restic -e
```

  Evidence: Windows Package Manager source index: restic.restic from https://cdn.winget.microsoft.com/cache/source.msix

## Package facts

- **Package key:** brew:restic
- **Package manager:** Homebrew
- **Package manager page:** <https://formulae.brew.sh/formula/restic>
- **Version:** 0.19.0
- **Source summary:** Fast, efficient and secure backup program
- **Homepage:** <https://restic.net/>
- **Repository:** <https://github.com/restic/restic>
- **Upstream docs:** <https://restic.net/>
- **License:** BSD-2-Clause
- **Source archive:** <https://github.com/restic/restic/archive/refs/tags/v0.19.0.tar.gz>
- **Last updated:** 2026-06-09T20:02:32Z
- **Generated:** 2026-07-08T07:18:31+00:00

## Executables

- restic (cli)
- restic (alias)

## Build dependencies

- go

## Install behavior

- Post-install hook: not defined
- Bottle: available on arm64_linux, arm64_sequoia, arm64_sonoma, arm64_tahoe, sonoma, x86_64_linux

## Freshness

- Page generated: 2026-07-08
- Package-manager version: 0.19.0
- Package-manager updated: 2026-06-09
- Local data: ok
- Upstream repository: https://github.com/restic/restic
- Upstream latest detected: v0.19.0 (current)

## Security Notes

broad file, network, media, or database tool signal.

- **Geiger risk:** blue / medium
- broad file, network, media, or database tool signal

## Source Database Details

- **Source Database:** Homebrew formula API
- **Tap:** homebrew/core
- **Full Name:** restic
- **Version Scheme:** 0
- **Revision:** 0
- **Head Version:** HEAD
- **Bottle Stable Root URL:** <https://ghcr.io/v2/homebrew/core>
- **Deprecated:** no
- **Disabled:** no
- **Keg Only:** no
- **URL Keys:** head, stable

## Other Package-Manager Records

- Debian apt - restic - 0.18.0-1+b4: normalized package name match | Debian stable package indexes: restic from https://deb.debian.org/debian/dists/stable/main/binary-amd64/Packages.xz | backup program with multiple revisions, encryption and more | https://github.com/restic/restic
- Nix - restic: normalized package name match | nixpkgs package indexes: pkgs/by-name/re/restic/package.nix from https://api.github.com/repos/NixOS/nixpkgs/git/trees/master?recursive=1
- Ubuntu apt - restic - 0.16.4-2: normalized package name match | Ubuntu 24.04 LTS package indexes: restic from https://archive.ubuntu.com/ubuntu/dists/noble/universe/binary-amd64/Packages.gz | backup program with multiple revisions, encryption and more | https://github.com/restic/restic
- apk - restic - 0.18.1-r7: normalized package name match | Alpine Linux edge package indexes: restic from https://dl-cdn.alpinelinux.org/alpine/edge/community/x86_64/APKINDEX.tar.gz | Fast, secure, efficient backup program | https://restic.net/
- apk - restic-bash-completion - 0.18.1-r7: normalized package name match | Alpine Linux edge package indexes: restic-bash-completion from https://dl-cdn.alpinelinux.org/alpine/edge/community/x86_64/APKINDEX.tar.gz | Bash completions for restic | https://restic.net/
- apk - restic-doc - 0.18.1-r7: normalized package name match | Alpine Linux edge package indexes: restic-doc from https://dl-cdn.alpinelinux.org/alpine/edge/community/x86_64/APKINDEX.tar.gz | Fast, secure, efficient backup program (documentation) | https://restic.net/
- apk - restic-fish-completion - 0.18.1-r7: normalized package name match | Alpine Linux edge package indexes: restic-fish-completion from https://dl-cdn.alpinelinux.org/alpine/edge/community/x86_64/APKINDEX.tar.gz | Fish completions for restic | https://restic.net/
- apk - restic-zsh-completion - 0.18.1-r7: normalized package name match | Alpine Linux edge package indexes: restic-zsh-completion from https://dl-cdn.alpinelinux.org/alpine/edge/community/x86_64/APKINDEX.tar.gz | Zsh completions for restic | https://restic.net/
- dnf - restic - 0.19.0-1.fc45: normalized package name match | Fedora Rawhide package metadata: restic from https://dl.fedoraproject.org/pub/fedora/linux/development/rawhide/Everything/x86_64/os/repodata/e5ca8ce900cd68f5419e1c39ae517343100b306336cbaeb70a3c153121d95094-primary.xml.zst | Fast, secure, efficient backup program | https://github.com/restic/restic
- pacman - restic - 0.18.1-2: normalized package name match | Arch Linux sync databases: restic from https://geo.mirror.pkgbuild.com/extra/os/x86_64/extra.db.tar.gz | Fast, secure, efficient backup program | https://github.com/restic/restic
- zypper - restic - 0.18.1-3.1: normalized package name match | openSUSE Tumbleweed package metadata: restic from https://download.opensuse.org/tumbleweed/repo/oss/repodata/be8d3611d25469107f32075a1697e69ec57a2b850b42348a658cc671ad5ec2b50760d02c3e59524d50da9a11d5be799bdaffba2e166e8ca8858512e3c0bd665d-primary.xml.zst | Backup program with deduplication and encryption | https://restic.net
- zypper - restic-bash-completion - 0.18.1-3.1: normalized package name match | openSUSE Tumbleweed package metadata: restic-bash-completion from https://download.opensuse.org/tumbleweed/repo/oss/repodata/be8d3611d25469107f32075a1697e69ec57a2b850b42348a658cc671ad5ec2b50760d02c3e59524d50da9a11d5be799bdaffba2e166e8ca8858512e3c0bd665d-primary.xml.zst | Bash Completion for restic | https://restic.net
- zypper - restic-zsh-completion - 0.18.1-3.1: normalized package name match | openSUSE Tumbleweed package metadata: restic-zsh-completion from https://download.opensuse.org/tumbleweed/repo/oss/repodata/be8d3611d25469107f32075a1697e69ec57a2b850b42348a658cc671ad5ec2b50760d02c3e59524d50da9a11d5be799bdaffba2e166e8ca8858512e3c0bd665d-primary.xml.zst | Zsh Completion for restic | https://restic.net
- MacPorts - restic: normalized package name match | MacPorts ports tree: sysutils/restic/Portfile from https://api.github.com/repos/macports/macports-ports/git/trees/master?recursive=1
- Chocolatey - restic: normalized package name match | Chocolatey community package catalog: restic from http://community.chocolatey.org/api/v2/Packages?$filter=IsLatestVersion&$select=Id&$top=1000&$skiptoken='9.1916','tektoncd-cli'
- Scoop - main/restic: normalized package name match | Scoop official bucket manifest trees: bucket/restic.json from https://api.github.com/repos/ScoopInstaller/Main/git/trees/master?recursive=1


## Related links

- [Secret-risk packages](https://www.automicvault.com/pkg/secret-risk-packages/) - Has protected-tool coverage, approval-gate, or non-low Geiger security signals.
- [Terminal utility packages](https://www.automicvault.com/pkg/terminal-utilities/) - Matched terminal and command-line workflow metadata.
- [Archive and compression packages](https://www.automicvault.com/pkg/archive-compression-tools/) - Matched archive or compression metadata.
- [Networking and protocol packages](https://www.automicvault.com/pkg/networking-protocol-tools/) - Matched network, protocol, or remote-service metadata.
- [go](https://www.automicvault.com/pkg/brew/go/) - Build dependency declared by Homebrew.
- [autorestic](https://www.automicvault.com/pkg/brew/autorestic/) - Popular package that depends on this formula.
- [resticprofile](https://www.automicvault.com/pkg/brew/resticprofile/) - Popular package that depends on this formula.
- [borgbackup](https://www.automicvault.com/pkg/brew/borgbackup/) - Shares av.db curated category or tags: backup, cli, encryption, system.
- [duplicity](https://www.automicvault.com/pkg/brew/duplicity/) - Shares av.db curated category or tags: backup, cli, encryption, system.
- [kopia](https://www.automicvault.com/pkg/brew/kopia/) - Shares av.db curated category or tags: backup, cli, encryption, system.
- [plakar](https://www.automicvault.com/pkg/brew/plakar/) - Shares av.db curated category or tags: backup, cli, encryption, system.
- [rustic](https://www.automicvault.com/pkg/brew/rustic/) - Shares av.db curated category or tags: backup, cli, encryption, system.
- [snapraid](https://www.automicvault.com/pkg/brew/snapraid/) - Shares av.db curated category or tags: backup, cli, storage, system.
- [zrepl](https://www.automicvault.com/pkg/brew/zrepl/) - Shares av.db curated category or tags: backup, cli, storage, system.
- [afio](https://www.automicvault.com/pkg/brew/afio/) - Shares av.db curated category or tags: backup, cli, system.

## Combined YAML source

View the package source record on GitHub. [combined/restic.yml](https://github.com/automic-vault/db/blob/main/combined/restic.yml)


## Sources

- Nucleus package database
- Geiger risk classifier
- package-page enrichment
- package version freshness
- av.db category and tag curation
- package relationship graph
- external package-manager database matches
- cross-ecosystem install command graph
