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

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.
主站蜘蛛池模板: 涡阳县| 乌拉特中旗| 油尖旺区| 分宜县| 确山县| 岳普湖县| 英超| 荆门市| 阿勒泰市| 临朐县| 仙游县| 镇沅| 苏尼特右旗| 蓬安县| 镇江市| 乡城县| 鄂托克旗| 阿克陶县| 张家界市| 广南县| 依兰县| 台江县| 绩溪县| 昆明市| 灵璧县| 辽中县| 马山县| 黄浦区| 察雅县| 云霄县| 外汇| 历史| 义乌市| 襄汾县| 上林县| 龙陵县| 马鞍山市| 长宁县| 长治县| 普陀区| 无棣县|