# 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. Also installable with debian: sudo apt install rsync.

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

  Evidence: Alpine Linux edge package indexes: rsync 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/07190dc5ae9f35ae73866675fed6d95fe6e8d9fe22c9d7cdf85862cb2ed24a4c-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/50b07339cb64c8ed4091bdbabddadc1ff5737b090e478818a195b40d8a3292861a879139b4a3987c31109699fde9fbf4a716367ddf4eef77da75f96e3193d6ed-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','revouninstallerpro'

## Package facts

- **Package key:** brew:rsync
- **Package manager:** Homebrew
- **Version:** 3.4.4
- **Source summary:** Utility that provides fast incremental file transfer
- **Homepage:** <https://rsync.samba.org/>
- **Last updated:** 2026-06-26T23:40:35-04:00
- **Generated:** 2026-08-03T19:37:03+00:00

## Executables

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

## Install behavior

- Bottle: not available

## Freshness

- Page generated: 2026-08-03
- Package-manager version: 3.4.4

## 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
## Other Package-Manager Records

- Debian apt - rsync - 3.4.1+ds1-5+deb13u4: 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-3.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/07190dc5ae9f35ae73866675fed6d95fe6e8d9fe22c9d7cdf85862cb2ed24a4c-primary.xml.zst | A program for synchronizing files over a network | https://rsync.samba.org/
- dnf - rsync-daemon - 3.4.4-3.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/07190dc5ae9f35ae73866675fed6d95fe6e8d9fe22c9d7cdf85862cb2ed24a4c-primary.xml.zst | Service for anonymous access to rsync | https://rsync.samba.org/
- dnf - rsync-rrsync - 3.4.4-3.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/07190dc5ae9f35ae73866675fed6d95fe6e8d9fe22c9d7cdf85862cb2ed24a4c-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-2.3: normalized package name match | openSUSE Tumbleweed package metadata: rsync from https://download.opensuse.org/tumbleweed/repo/oss/repodata/50b07339cb64c8ed4091bdbabddadc1ff5737b090e478818a195b40d8a3292861a879139b4a3987c31109699fde9fbf4a716367ddf4eef77da75f96e3193d6ed-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','revouninstallerpro'
- 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


## Combined YAML source

View the package source record on GitHub. [combined/rsync.yml](https://github.com/mxcl/pkgdb/blob/main/combined/rsync.yml)


## Sources

- pkg.so package database
- Geiger risk classifier
- curated configuration and credential file locations
- pkgdb category and tag curation
- external package-manager database matches
- cross-ecosystem install command graph
- curated agent safety answer
