官术网_书友最值得收藏!

Installing the AWS CLI package

The AWS CLI utility is written in Python. While there are several ways to install it, we will use PyPA, the Python package manager, to install this tool.

To install PyPA, depending on your OS, you will need to run the following commands:

  • On Windows:
$ sudo apt install python-pip
  • On macOS X:
$ sudo easy_install pip
  • On Debian-based Linux distributions:
$ sudo apt-get install python-pip python-dev build-essential  
  • On Red Hat/CentOS-based Linux distributions:
    $ sudo yum -y install python-pip  

Once PyPA is installed, you will get access to the pip command.

Lastly, to install the AWS CLI using the pip command, you simply need to run the following command:

$ sudo pip install --upgrade --user awscli 

If you get an output to upgrade your pip version to the latest available level, execute pip install --upgrade pip.

We have demonstrated all of the outputs from CentOS-based Linux distribution but the process is equally applicable on all of the mentioned supported platforms.
主站蜘蛛池模板: 长治市| 昌宁县| 镇江市| 定结县| 汝州市| 辽宁省| 玛沁县| 佛山市| 南和县| 红安县| 石楼县| 雷波县| 牙克石市| 昌宁县| 兰州市| 连江县| 彭州市| 新宾| 克拉玛依市| 涪陵区| 定州市| 塔城市| 甘德县| 晋宁县| 建宁县| 高阳县| 承德市| 循化| 马山县| 北碚区| 鹰潭市| 三河市| 康乐县| 舞钢市| 微博| 五华县| 开化县| 玉溪市| 平谷区| 化州市| 磐石市|