--- title: "s4cmd With Wasabi" slug: "how-do-i-use-s4cmd-with-wasabi" updated: 2026-08-17T14:58:52Z published: 2026-08-17T14:58:52Z canonical: "docs.wasabi.com/how-do-i-use-s4cmd-with-wasabi" --- > ## Documentation Index > Fetch the complete documentation index at: https://docs.wasabi.com/llms.txt > Use this file to discover all available pages before exploring further. # s4cmd With Wasabi [s4cmd](https://pypi.org/project/s4cmd/) v2.1.0 and higher is validated for use with Wasabi. Versions of s4cmd below the 2.1.0 release do not support the `--endpoint_url` flag, which is required when using s4cmd with Wasabi. To use s4cmd with Wasabi, follow the config tips below. Note that this example uses Wasabi’s us-east-1 storage region. To use other Wasabi storage regions, use the appropriate Wasabi service URL as described in this [article](https://docs.wasabi.com/docs/what-are-the-service-urls-for-wasabis-different-storage-regions). ### Installation To install s4cmd, use the pip installer. `pip install s4cmd` Copy or create a symbolic link so you can run `s4cmd.py` as `s4cmd`: `ln -s .local/lib/python3.7/site-packages/s4cmd.py s4cmd` **Note**: The above example was run on a Linux machine, and the directory path may differ on your system. ### Configuring s4cmd s4cmd uses the same credentials file as AWS CLI. If this is already configured to work with Wasabi, then no additional steps are required. It is important to note that s4cmd does not support credential profiles. If you do not already have a credentials file configured for the AWS CLI, follow these steps. ```powershell $ mkdir ~/.aws ``` Then create and edit the credentials file to contain your access key pair. ```powershell $ vi ~/.aws/credentials ``` ```powershell [default] aws_access_key_id = TH15ISN0T4R34LPU8K3Y aws_secret_access_key = th15i54Ls0n0t4rea1k3ySEcr3TeiTHeRn012340 ``` ### Using s4cmd Once configured with credentials, you may run test commands to confirm functionality. List your Wasabi buckets. ```powershell $ s4cmd --endpoint-url=https://s3.wasabisys.com ls ``` Make a bucket in the us-east-1 region. ```powershell $ s4cmd --endpoint-url=https://s3.wasabisys.com mb s3://mybucket ``` Copy a file up to Wasabi. ```powershell $ s4cmd --endpoint-url=https://s3.wasabisys.com cp image.jpg s3://mybucket ``` Copy a file from Wasabi down to the working directory. ```powershell $ s4cmd --endpoint-url=https://s3.wasabisys.com cp s3://mybucket/image.jpg . ``` For a full list of commands and features, visit the [official s4cmd page](https://pypi.org/project/s4cmd/). If you have any questions about using s4cmd with Wasabi, contact us at [support@wasabi.com](mailto:support@wasabi.com)