How to install s3cmd on Windows

NicolasBrondinBernard

Author
@NicolasBrondinBernard

Learn how to install the s3cmd tool on Windows so you can use it just like on Linux or MacOS.

Article published on 05/06/2023, last updated on 10/08/2026

S3cmd is software accessible in the terminal that allows you to manage the data and configuration of an AWS S3 server.

Some S3-compatible service providers (such as Cellar from Clever-Cloud) require you to go through S3cmd to change certain settings. Even though it is generally used on Linux or MacOS, it is possible to install it on Windows by following these steps:

1 - Install Python

To run on Windows, S3cmd requires the installation of Python. You can download the latest version of Python from the official website: https://www.python.org/downloads/

2 - Install pip

Pip is a package/dependency manager for Python and it is required to install S3cmd. To install pip, you can download the get-pip.py script from the official website: https://bootstrap.pypa.io/get-pip.py

Then run the script with Python!

$> py get-pip.py

3 - Install s3cmd

Once pip is installed, you can use it to install S3cmd by running the following command from your terminal:

$> pip install s3cmd

4 - Configure your permissions

After installation, you will need to configure S3cmd by adding your configuration file containing your access key and your secret key.

The file must be named ".s3cfg" and placed in the "C:/Users/username/.s3cfg" directory, and contain the information described in this documentation.


Pedro Forester Da Silva sur Unsplash

Finished reading this article?
Our newsletter

No spam. Only free content, news, and ever more resources to level up your skills!

Join +1500 developers

Comments (0)

to leave a comment

No comments yet