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

Command-line tool for the Amazon S3 service. Version 2.4.0 via Homebrew; verified from local package data.

## Install

```sh
sudo av install brew:s3cmd
```

## Agent safety answer

s3cmd transfers and mutates S3-compatible object storage.

- **Credential access:** Reads S3 access keys, config files, and files selected for transfer.
- **Remote mutation:** Can upload, delete, sync, and change object ACLs.
- **Publish/artifact risk:** Can publish or remove artifacts and static-site assets.
- **Recommended control:** Gate sync, delete, put, ACL, and credential commands.
- **Agent-use guidance:** Allow bucket listing; require approval for uploads, deletes, ACL changes, and sensitive paths.

Additional install commands:

### macOS

- Homebrew (100%):

```sh
brew install s3cmd
```

  Evidence: local Homebrew formula metadata

- MacPorts (94%):

```sh
sudo port install s3cmd
```

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

### Linux

- apk (92%):

```sh
sudo apk add s3cmd
```

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

- Debian apt (92%):

```sh
sudo apt install s3cmd
```

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

- dnf (92%):

```sh
sudo dnf install s3cmd
```

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

  Evidence: nixpkgs package indexes: s3cmd from https://raw.githubusercontent.com/NixOS/nixpkgs/master/pkgs/top-level/all-packages.nix

- pacman (92%):

```sh
sudo pacman -S s3cmd
```

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

- zypper (92%):

```sh
sudo zypper install s3cmd
```

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

## Package facts

- **Package key:** brew:s3cmd
- **Package manager:** Homebrew
- **Package manager page:** <https://formulae.brew.sh/formula/s3cmd>
- **Version:** 2.4.0
- **Source summary:** Command-line tool for the Amazon S3 service
- **Homepage:** <https://s3tools.org/s3cmd>
- **Repository:** <https://github.com/s3tools/s3cmd>
- **Upstream docs:** <https://s3tools.org/kb>
- **License:** GPL-2.0-or-later
- **Source archive:** <https://files.pythonhosted.org/packages/b3/9c/ad4cd51328bd7a058bfda6739bc061c63ee3531ad2fbc6e672518a1eed01/s3cmd-2.4.0.tar.gz>
- **Generated:** 2026-07-08T07:18:31+00:00

## Executables

- s3cmd (cli)
- s3cmd (alias)

## Dependencies

- libmagic
- python@3.14

## 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: 2.4.0
- Local data: ok
- Upstream repository: https://s3tools.org/s3cmd
- info: No package-manager update timestamp was available.
- info: Release/tag comparison is only available for GitHub repositories.

## Security Notes

narrow executable package without higher-risk signals.

- **Geiger risk:** green / low
- narrow executable package without higher-risk signals


## 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: ~/.s3cfg

## Credential files

- Unix: ~/.s3cfg
## Source Database Details

- **Source Database:** Homebrew formula API
- **Tap:** homebrew/core
- **Full Name:** s3cmd
- **Version Scheme:** 0
- **Revision:** 1
- **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 - s3cmd - 2.4.0-3: normalized package name match | Debian stable package indexes: s3cmd from https://deb.debian.org/debian/dists/stable/main/binary-amd64/Packages.xz | command-line Amazon S3 client | https://s3tools.org/s3cmd
- Nix - s3cmd: normalized package name match | nixpkgs package indexes: s3cmd from https://raw.githubusercontent.com/NixOS/nixpkgs/master/pkgs/top-level/all-packages.nix
- Ubuntu apt - s3cmd - 2.4.0-2: normalized package name match | Ubuntu 24.04 LTS package indexes: s3cmd from https://archive.ubuntu.com/ubuntu/dists/noble/universe/binary-amd64/Packages.gz | command-line Amazon S3 client | https://s3tools.org/s3cmd
- apk - s3cmd - 2.4.0-r2: normalized package name match | Alpine Linux edge package indexes: s3cmd from https://dl-cdn.alpinelinux.org/alpine/edge/community/x86_64/APKINDEX.tar.gz | Command-line tool for managing Amazon S3 and CloudFront services | https://github.com/s3tools/s3cmd
- apk - s3cmd-doc - 2.4.0-r2: normalized package name match | Alpine Linux edge package indexes: s3cmd-doc from https://dl-cdn.alpinelinux.org/alpine/edge/community/x86_64/APKINDEX.tar.gz | Command-line tool for managing Amazon S3 and CloudFront services (documentation) | https://github.com/s3tools/s3cmd
- apk - s3cmd-pyc - 2.4.0-r2: normalized package name match | Alpine Linux edge package indexes: s3cmd-pyc from https://dl-cdn.alpinelinux.org/alpine/edge/community/x86_64/APKINDEX.tar.gz | Precompiled Python bytecode for s3cmd | https://github.com/s3tools/s3cmd
- dnf - s3cmd - 2.4.0-12.fc45: normalized package name match | Fedora Rawhide package metadata: s3cmd from https://dl.fedoraproject.org/pub/fedora/linux/development/rawhide/Everything/x86_64/os/repodata/e5ca8ce900cd68f5419e1c39ae517343100b306336cbaeb70a3c153121d95094-primary.xml.zst | Tool for accessing Amazon Simple Storage Service | https://s3tools.org/s3cmd
- pacman - s3cmd - 2.4.0-5: normalized package name match | Arch Linux sync databases: s3cmd from https://geo.mirror.pkgbuild.com/extra/os/x86_64/extra.db.tar.gz | A command line client for Amazon S3 | https://s3tools.org/s3cmd
- zypper - s3cmd - 2.4.0-2.2: normalized package name match | openSUSE Tumbleweed package metadata: s3cmd from https://download.opensuse.org/tumbleweed/repo/oss/repodata/be8d3611d25469107f32075a1697e69ec57a2b850b42348a658cc671ad5ec2b50760d02c3e59524d50da9a11d5be799bdaffba2e166e8ca8858512e3c0bd665d-primary.xml.zst | Command line tool for managing Amazon S3 and CloudFront services | http://s3tools.org/s3cmd
- MacPorts - s3cmd: normalized package name match | MacPorts ports tree: net/s3cmd/Portfile from https://api.github.com/repos/macports/macports-ports/git/trees/master?recursive=1


## Related links

- [Cloud CLI packages](https://www.automicvault.com/pkg/cloud-clis/) - Belongs to a cloud or infrastructure command family.
- [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.
- [python@3.14](https://www.automicvault.com/pkg/brew/python-3-14/) - Runtime dependency declared by Homebrew.
- [fdroidserver](https://www.automicvault.com/pkg/brew/fdroidserver/) - Popular package that depends on this formula.
- [filen-cli](https://www.automicvault.com/pkg/brew/filen-cli/) - Shares av.db curated category or tags: cli, cloud-infrastructure, s3, storage, sync.
- [garage](https://www.automicvault.com/pkg/brew/garage/) - Shares av.db curated category or tags: cli, cloud-infrastructure, s3, storage.
- [juicefs](https://www.automicvault.com/pkg/brew/juicefs/) - Shares av.db curated category or tags: cli, cloud-infrastructure, s3, storage.
- [s3-backer](https://www.automicvault.com/pkg/brew/s3-backer/) - Shares av.db curated category or tags: cli, cloud-infrastructure, s3, storage.
- [s3fs](https://www.automicvault.com/pkg/brew/s3fs/) - Shares av.db curated category or tags: cli, cloud-infrastructure, s3, storage.
- [s4cmd](https://www.automicvault.com/pkg/brew/s4cmd/) - Shares av.db curated category or tags: cli, cloud-infrastructure, s3, storage.
- [s5cmd](https://www.automicvault.com/pkg/brew/s5cmd/) - Shares av.db curated category or tags: cli, cloud-infrastructure, s3, storage.
- [stu](https://www.automicvault.com/pkg/brew/stu/) - Shares av.db curated category or tags: cli, cloud-infrastructure, s3, storage.
- [awscli](https://www.automicvault.com/pkg/brew/awscli/) - Both packages touch the same language runtime or ecosystem. Shared terms: amazon, cli, cloud, cloud-infrastructure, command-line.

## Combined YAML source

View the package source record on GitHub. [combined/s3cmd.yml](https://github.com/automic-vault/db/blob/main/combined/s3cmd.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
