Install
CargoShip ships as a single self-contained binary. Pick whichever method fits your platform; all of them leave you with a cargoship command on your PATH.
Homebrew (macOS / Linux)
The easiest option on macOS and Linux:
bash
brew install scttfrdmn/tap/cargoshipGo install
If you already have Go 1.26+:
bash
go install github.com/scttfrdmn/cargoship/cmd/cargoship@latestMake sure $(go env GOPATH)/bin is on your PATH.
Scoop (Windows)
bash
scoop bucket add scttfrdmn https://github.com/scttfrdmn/scoop-bucket
scoop install cargoshipPre-built binaries
Download the archive for your platform from the releases page, unpack it, and move the binary onto your PATH.
bash
curl -sSL https://github.com/scttfrdmn/cargoship/releases/latest/download/cargoship-linux-amd64.tar.gz | tar -xz
sudo mv cargoship-linux-amd64 /usr/local/bin/cargoshipbash
curl -sSL https://github.com/scttfrdmn/cargoship/releases/latest/download/cargoship-linux-arm64.tar.gz | tar -xz
sudo mv cargoship-linux-arm64 /usr/local/bin/cargoshipbash
curl -sSL https://github.com/scttfrdmn/cargoship/releases/latest/download/cargoship-darwin-arm64.tar.gz | tar -xz
sudo mv cargoship-darwin-arm64 /usr/local/bin/cargoshipbash
curl -sSL https://github.com/scttfrdmn/cargoship/releases/latest/download/cargoship-darwin-amd64.tar.gz | tar -xz
sudo mv cargoship-darwin-amd64 /usr/local/bin/cargoshipDocker
Run CargoShip in a container without installing anything locally. Mount your data and your AWS credentials:
bash
docker run --rm \
-v $(pwd):/data \
-v ~/.aws:/root/.aws \
scttfrdmn/cargoship:latest upload /data s3://my-bucket/archives/Verify
bash
cargoship --versionNext
- AWS setup & credentials — the minimal IAM policy.
- Interactive setup wizard —
cargoship setup. - Your first upload.
