Install aws cli for mac

broken image

Learn more about the Serverless Framework Dashboard and sign up for free. This tutorial will show you how to install it using the installer wizard. If you're based in China and prefer to be presented with steps as outside of China, set the following environment variable: SERVERLESS_PLATFORM_VENDOR=aws Upgrade MacOS/Linux serverless upgrade The AWS CLI can be installed on macOS using the command line or by using the installer wizard. Note: Users in China are presented with a setup centered around the chinese Tencent provider. The command will guide you to create a new serverless project. Run the command below and follow the prompts: serverless Install the serverless CLI: npm install -g serverless We suggest using the latest LTS version of NodeJS. Note: If you don’t already have Node on your machine, you’ll need to install it first. Install with Chocolatey: choco install serverless Then, open another terminal window to run the serverless program. To install an specific version you may set a VERSION variable, for example: curl -o-L | VERSION=2.21.1 bash To install the latest version, run this command in your terminal: curl -o-L | bash Install as a standalone binary MacOS/Linux Install as a standalone binary, or with npm. Step 1: Install or upgrade AWS command line tools. Getting started with Serverless Framework’s Open Source CLI and AWS takes only a few minutes. The AWS Tools for PowerShell Core work on Windows, Linux, and macOS. Get started with Serverless Framework Open Source & AWS