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

## 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/07190dc5ae9f35ae73866675fed6d95fe6e8d9fe22c9d7cdf85862cb2ed24a4c-primary.xml.zst

- Nix (92%):

```sh
nix profile install nixpkgs#s3cmd
```

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

- 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/50b07339cb64c8ed4091bdbabddadc1ff5737b090e478818a195b40d8a3292861a879139b4a3987c31109699fde9fbf4a716367ddf4eef77da75f96e3193d6ed-primary.xml.zst

## Package facts

- **Package key:** brew:s3cmd
- **Package manager:** Homebrew
- **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>
- **Generated:** 2026-08-03T19:37:03+00:00

## Executables

- s3cmd (alias)

## Install behavior

- Bottle: not available

## Freshness

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

## 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
## 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: pkgs/by-name/s3/s3cmd/package.nix from https://api.github.com/repos/NixOS/nixpkgs/git/trees/master?recursive=1
- 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-13.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/07190dc5ae9f35ae73866675fed6d95fe6e8d9fe22c9d7cdf85862cb2ed24a4c-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.3: normalized package name match | openSUSE Tumbleweed package metadata: s3cmd from https://download.opensuse.org/tumbleweed/repo/oss/repodata/50b07339cb64c8ed4091bdbabddadc1ff5737b090e478818a195b40d8a3292861a879139b4a3987c31109699fde9fbf4a716367ddf4eef77da75f96e3193d6ed-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


## Combined YAML source

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