Garage is compatible with a wide range of S3 CLI tools, making it easy to manage your object storage through the command line. These tools are particularly suitable for debugging, backups, website deployments, or any scripted task that needs to handle data.Documentation Index
Fetch the complete documentation index at: https://mintlify.com/deuxfleurs-org/garage/llms.txt
Use this file to discover all available pages before exploring further.
Recommended Tools
The following tools are tested and work reliably with Garage:| Tool | Status | Notes |
|---|---|---|
| AWS CLI | ✅ | Recommended, native S3 support |
| Minio Client | ✅ | Recommended, user-friendly |
| rclone | ✅ | Excellent for sync operations |
| s3cmd | ✅ | Classic S3 tool |
| s5cmd | ✅ | High-performance tool |
| Cyberduck/duck | ✅ | GUI and CLI options |
| WinSCP | ✅ | Windows support |
| sftpgo | ✅ | SFTP gateway to S3 |
AWS CLI
The AWS CLI is one of the most widely used tools for interacting with S3-compatible storage.Configuration
Create a credentials file at~/.aws/credentials:
~/.aws/config:
If you’re using awscli version
<1.29.0 or <2.13.0, you need to pass --endpoint-url to each CLI invocation explicitly. See the workaround below.Workaround for Older Versions
For older AWS CLI versions, add this to your~/.bashrc:
source ~/.bashrc or start a new terminal.
Common Operations
- List Buckets
- List Objects
- Upload File
- Download File
- Sync Directory
Minio Client
The Minio client (mc) provides a modern, user-friendly interface for S3 operations.
On some Linux distributions like Arch Linux, the Minio client is called
mcli to avoid conflicts with Midnight Commander.Setup
Define a new S3 server alias:Common Operations
- List Buckets
- List Objects
- Upload File
- Download File
- Mirror Directory
rclone
rclone is excellent for synchronizing files between different storage systems.Configuration
You can configure rclone interactively:~/.config/rclone/rclone.conf:
Common Operations
- List Buckets
- List Objects
- Copy File
- Sync Directory
Performance Tips
Cloudflare Proxy Compatibility
If you’re running Garage behind a Cloudflare proxy and seeAccessDenied: Forbidden: Invalid signature errors, add this flag:
s3cmd
s3cmd is a classic command-line tool for S3 operations.Configuration
Create a configuration file at~/.s3cfg or s3cmd.cfg:
Common Operations
- List Buckets
- List Objects
- Upload File
- Download File
s5cmd
s5cmd is a high-performance S3 tool with parallel operations support.Configuration
Set up environment variables:Usage
Cyberduck & duck
Cyberduck provides both a GUI application and a CLI tool calledduck.
GUI Setup
Within Cyberduck, a Garage connection profile is available inPreferences → Profiles. Enable this profile to configure connections to Garage.
CLI Setup
Create the folder hierarchy:~/.duck/profiles/garage.cyberduckprofile.
Set your credentials in ~/.duck/credentials:
~/.bashrc:
Common Operations
- List Buckets
- List Objects
- Download File
- Upload File
- Delete File
WinSCP
WinSCP provides both GUI and CLI interfaces for Windows users.CLI Usage
- WinSCP only supports TLS connections for S3
- Use
-certificate=*to allow self-signed certificates
sftpgo
sftpgo provides an SFTP gateway to S3 storage, allowing you to access Garage through SFTP clients.Setup
Initialize the database::8080 for HTTP and :2022 for SSH by default):
Configuration
- Go to the admin web interface at
http://localhost:8080/web/admin/ - Create the required admin account
- Create a user account with these filesystem settings:
- Storage: AWS S3 (Compatible)
- Bucket: your bucket name
- Region:
garage(or your configured region) - Access key: your access key
- Access secret: your secret key
- Endpoint: your endpoint (e.g.,
https://garage.example.com) - Tick “Use path-style addressing”
Access via SFTP
http://localhost:8080/web/client.
Next Steps
Application Integrations
Connect Nextcloud, Mastodon, Peertube, and more
Static Website Hosting
Deploy Hugo, Jekyll, and other static sites