Getting started with Serverless Framework’s Open Source CLI and AWS takes only a few minutes. Install as a standalone binary, or with npm.
curl -o- -L https://slss.io/install | bash
If you have a previously installed version, you can upgrade by running:
Install with Chocolatey:
choco install serverless
choco upgrade serverless
If you don’t already have Node 6 or higher on your machine, you’ll need to do that first.
Install the serverless CLI:
npm install -g serverless
npm update -g serverless
Once you’ve signed up for Pro, login to your Pro dashboard from the CLI:
You can either add a new service in your dashboard, or with the CLI, using the command: