# 1.4 Install AWS command line software for accessing S3 bucket via command line interface

### **Install AWS Command Line Interface**

AWS command line interface (CLI) allow users to download or upload files to your S3 bucket in batch mode. Instructions on how to install the AWS CLI is shown below, note that this is different for different operating systems.

* **Linux**–[Adding the AWS CLI Executable to your Command Line Path](https://docs.aws.amazon.com/cli/latest/userguide/awscli-install-linux.html#awscli-install-linux-path)
* **Windows**–[Adding the AWS CLI Executable to your Command Line Path](https://docs.aws.amazon.com/cli/latest/userguide/awscli-install-windows.html#awscli-install-windows-path)
* **MacOS**–[Adding the AWS CLI Executable to your Command Line Path](https://docs.aws.amazon.com/cli/latest/userguide/cli-install-macos.html#awscli-install-osx-path)

Users can verify if the AWS CLI has been installed properly by running`aws --version`.

### **Set up the configuration file**

After the software has been installed, users need to create the configuration file using the template below:

Type aws configure:

```
$ aws configureAWS Access Key ID: access_key_ID            ### input user's key ID here (the key generated in section 1.2) AWS Secret Access Key: secret_access_key    ### input user's access key (the key generated in section 1.2)Default region name: us-east-1              ### input the closet geographical location here
```

{% hint style="info" %}
&#x20;Users can verify the contents of the aws configure file by typing "aws configure list".
{% endhint %}
