# Install rsync with Homebrew, apk, chocolatey, apt, dnf, MacPorts, Nix, pacman, zypper

Utility that provides fast incremental file transfer. Version 3.4.4 via Homebrew; verified 2026-06-26.

## Install

```sh
sudo av install brew:rsync
```

## Agent safety answer

rsync transfers files locally or remotely and can overwrite or delete destinations.

- **Credential access:** Reads SSH keys, source files, and paths selected for transfer.
- **Remote mutation:** Can sync, overwrite, or delete files on remote hosts.
- **Publish/artifact risk:** Can publish build artifacts or remove deployed files.
- **Recommended control:** Gate remote syncs, deletes, and secret-bearing source paths.
- **Agent-use guidance:** Allow dry runs; require approval for remote writes, deletes, and transfers of sensitive paths.

Additional install commands:

### macOS

- Homebrew (100%):

```sh
brew install rsync
```

  Evidence: local Homebrew formula metadata

- MacPorts (94%):

```sh
sudo port install rsync
```

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

### Linux

- apk (92%):

```sh
sudo apk add rrsync
```

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

- Debian apt (92%):

```sh
sudo apt install rsync
```

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

- dnf (92%):

```sh
sudo dnf install rsync
```

  Evidence: Fedora Rawhide package metadata: rsync 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#rsync
```

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

- pacman (92%):

```sh
sudo pacman -S rsync
```

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

- zypper (92%):

```sh
sudo zypper install rsync
```

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

### Windows

- Chocolatey (92%):

```sh
choco install rsync
```

  Evidence: Chocolatey community package catalog: rsync from http://community.chocolatey.org/api/v2/Packages?$filter=IsLatestVersion&$select=Id&$top=1000&$skiptoken='11','reportgenerator.portable'

## Package facts

- **Package key:** brew:rsync
- **Package manager:** Homebrew
- **Package manager page:** <https://formulae.brew.sh/formula/rsync>
- **Version:** 3.4.4
- **Source summary:** Utility that provides fast incremental file transfer
- **Homepage:** <https://rsync.samba.org/>
- **Repository:** <https://github.com/RsyncProject/rsync>
- **Upstream docs:** <https://download.samba.org/pub/rsync/rsync.1>
- **License:** GPL-3.0-or-later
- **Source archive:** <https://rsync.samba.org/ftp/rsync/rsync-3.4.4.tar.gz>
- **Last updated:** 2026-06-26T23:40:35-04:00
- **Generated:** 2026-07-08T07:18:31+00:00

## Executables

- rrsync (cli)
- rsync (cli)
- rsync-ssl (cli)
- rrsync (alias)
- rsync (alias)
- rsync-ssl (alias)

## Dependencies

- lz4
- openssl@3
- popt
- xxhash
- zstd

## 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: 3.4.4
- Package-manager updated: 2026-06-26
- Local data: ok
- Upstream repository: https://rsync.samba.org/
- info: Release/tag comparison is only available for GitHub repositories.

## Security Notes

doc example: file synchronization tool.

- **Geiger risk:** blue / high
- doc example: file synchronization tool


## Configuration and credential file locations

These source-backed paths show where this package keeps local settings or durable credentials. Automic Vault can use them as review targets for secret scanning, migration, and command approval.


## Configuration files

- Unix: ~/.rsyncd.conf, ~/.config/rsync/rsyncd.conf

## Credential files

- Unix: ~/.rsync_pass, ~/.rsync-password, ~/.rsync.pass, ~/.rsyncd.conf, ~/.config/rsync/rsyncd.conf
## Source Database Details

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

## Other Package-Manager Records

- Debian apt - rsync - 3.4.1+ds1-5+deb13u2: normalized package name match | Debian stable package indexes: rsync from https://deb.debian.org/debian/dists/stable/main/binary-amd64/Packages.xz | fast, versatile, remote (and local) file-copying tool | https://rsync.samba.org/
- Nix - rsync: normalized package name match | nixpkgs package indexes: pkgs/by-name/rs/rsync/package.nix from https://api.github.com/repos/NixOS/nixpkgs/git/trees/master?recursive=1
- Ubuntu apt - rsync - 3.2.7-1ubuntu1: normalized package name match | Ubuntu 24.04 LTS package indexes: rsync from https://archive.ubuntu.com/ubuntu/dists/noble/main/binary-amd64/Packages.gz | fast, versatile, remote (and local) file-copying tool | https://rsync.samba.org/
- apk - rrsync - 3.4.4-r0: normalized package name match | Alpine Linux edge package indexes: rrsync from https://dl-cdn.alpinelinux.org/alpine/edge/main/x86_64/APKINDEX.tar.gz | Restricted rsync, restricts rsync to a subdir declared in .ssh/authorized_keys | https://rsync.samba.org/
- apk - rsync - 3.4.4-r0: normalized package name match | Alpine Linux edge package indexes: rsync from https://dl-cdn.alpinelinux.org/alpine/edge/main/x86_64/APKINDEX.tar.gz | A file transfer program to keep remote files in sync | https://rsync.samba.org/
- apk - rsync-doc - 3.4.4-r0: normalized package name match | Alpine Linux edge package indexes: rsync-doc from https://dl-cdn.alpinelinux.org/alpine/edge/main/x86_64/APKINDEX.tar.gz | A file transfer program to keep remote files in sync (documentation) | https://rsync.samba.org/
- apk - rsync-openrc - 3.4.4-r0: normalized package name match | Alpine Linux edge package indexes: rsync-openrc from https://dl-cdn.alpinelinux.org/alpine/edge/main/x86_64/APKINDEX.tar.gz | A file transfer program to keep remote files in sync (OpenRC init scripts) | https://rsync.samba.org/
- dnf - rsync - 3.4.4-1.fc45: normalized package name match | Fedora Rawhide package metadata: rsync from https://dl.fedoraproject.org/pub/fedora/linux/development/rawhide/Everything/x86_64/os/repodata/e5ca8ce900cd68f5419e1c39ae517343100b306336cbaeb70a3c153121d95094-primary.xml.zst | A program for synchronizing files over a network | https://rsync.samba.org/
- dnf - rsync-daemon - 3.4.4-1.fc45: normalized package name match | Fedora Rawhide package metadata: rsync-daemon from https://dl.fedoraproject.org/pub/fedora/linux/development/rawhide/Everything/x86_64/os/repodata/e5ca8ce900cd68f5419e1c39ae517343100b306336cbaeb70a3c153121d95094-primary.xml.zst | Service for anonymous access to rsync | https://rsync.samba.org/
- dnf - rsync-rrsync - 3.4.4-1.fc45: normalized package name match | Fedora Rawhide package metadata: rsync-rrsync from https://dl.fedoraproject.org/pub/fedora/linux/development/rawhide/Everything/x86_64/os/repodata/e5ca8ce900cd68f5419e1c39ae517343100b306336cbaeb70a3c153121d95094-primary.xml.zst | A script to setup restricted rsync users via ssh logins | https://rsync.samba.org/
- pacman - rsync - 3.4.4-1: normalized package name match | Arch Linux sync databases: rsync from https://geo.mirror.pkgbuild.com/extra/os/x86_64/extra.db.tar.gz | A fast and versatile file copying tool for remote and local files | https://rsync.samba.org/
- zypper - rsync - 3.4.3-1.1: normalized package name match | openSUSE Tumbleweed package metadata: rsync from https://download.opensuse.org/tumbleweed/repo/oss/repodata/be8d3611d25469107f32075a1697e69ec57a2b850b42348a658cc671ad5ec2b50760d02c3e59524d50da9a11d5be799bdaffba2e166e8ca8858512e3c0bd665d-primary.xml.zst | Versatile tool for fast incremental file transfer | https://rsync.samba.org/
- MacPorts - rsync: normalized package name match | MacPorts ports tree: net/rsync/Portfile from https://api.github.com/repos/macports/macports-ports/git/trees/master?recursive=1
- Chocolatey - rsync: normalized package name match | Chocolatey community package catalog: rsync from http://community.chocolatey.org/api/v2/Packages?$filter=IsLatestVersion&$select=Id&$top=1000&$skiptoken='11','reportgenerator.portable'
- Nix - rrsync: installed executable or alias match | nixpkgs package indexes: pkgs/by-name/rr/rrsync/package.nix from https://api.github.com/repos/NixOS/nixpkgs/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.
- [lz4](https://www.automicvault.com/pkg/brew/lz4/) - Runtime dependency declared by Homebrew.
- [openssl@3](https://www.automicvault.com/pkg/brew/openssl-3/) - Runtime dependency declared by Homebrew.
- [xxhash](https://www.automicvault.com/pkg/brew/xxhash/) - Runtime dependency declared by Homebrew.
- [zstd](https://www.automicvault.com/pkg/brew/zstd/) - Runtime dependency declared by Homebrew.
- [opam](https://www.automicvault.com/pkg/brew/opam/) - Popular package that depends on this formula.
- [rpki-client](https://www.automicvault.com/pkg/brew/rpki-client/) - Popular package that depends on this formula.
- [rsyncy](https://www.automicvault.com/pkg/brew/rsyncy/) - Popular package that depends on this formula.
- [afio](https://www.automicvault.com/pkg/brew/afio/) - Shares av.db curated category or tags: backup, cli, system.
- [asimov](https://www.automicvault.com/pkg/brew/asimov/) - Shares av.db curated category or tags: backup, cli, system.
- [autorestic](https://www.automicvault.com/pkg/brew/autorestic/) - Shares av.db curated category or tags: backup, cli, system.
- [backupninja](https://www.automicvault.com/pkg/brew/backupninja/) - Shares av.db curated category or tags: backup, cli, system.
- [bacula-fd](https://www.automicvault.com/pkg/brew/bacula-fd/) - Shares av.db curated category or tags: backup, cli, system.
- [bareos-client](https://www.automicvault.com/pkg/brew/bareos-client/) - Shares av.db curated category or tags: backup, cli, system.
- [borgbackup](https://www.automicvault.com/pkg/brew/borgbackup/) - Shares av.db curated category or tags: backup, cli, system.
- [dwarfs](https://www.automicvault.com/pkg/brew/dwarfs/) - Local package facts share a topical domain. Shared terms: cli, fast, file, lz4, openssl.
- [rsync-time-backup](https://www.automicvault.com/pkg/brew/rsync-time-backup/) - Package names and metadata indicate a similar tool family. Shared terms: backup, cli, rsync, system.

## Combined YAML source

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


## Sources

- Nucleus package database
- Geiger risk classifier
- package-page enrichment
- curated configuration and credential file locations
- package version freshness
- av.db category and tag curation
- package relationship graph
- external package-manager database matches
- cross-ecosystem install command graph
- curated agent safety answer
