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

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.
主站蜘蛛池模板: 建水县| 苗栗县| 达尔| 类乌齐县| 漯河市| 内黄县| 柘荣县| 泰来县| 改则县| 余江县| 永寿县| 伊春市| 甘谷县| 太康县| 襄垣县| 贡嘎县| 肇源县| 奈曼旗| 中山市| 通化县| 桃源县| 楚雄市| 盖州市| 沈阳市| 商水县| 思南县| 嘉黎县| 城固县| 名山县| 申扎县| 平乐县| 长宁县| 涟源市| 商南县| 绥阳县| 获嘉县| 新民市| 温泉县| 湟中县| 轮台县| 岳池县|