mirror of
https://github.com/serverless/serverless.git
synced 2026-01-25 15:07:39 +00:00
* Update the /framework/docs/getting-started/ page * Update the /framework/docs/getting-started/ page (run Prettier)
2.5 KiB
2.5 KiB
Get started with Serverless Framework Open Source & AWS
Getting started with Serverless Framework’s Open Source CLI and AWS takes only a few minutes. Install as a standalone binary, or with npm.
Install as a standalone binary
MacOS/Linux
- Run this command in your terminal:
curl -o- -L https://slss.io/install | bash
- After installation completes, open another terminal window, then run this command:
serverless
- Follow the prompts.
If you have a previously installed version, you can upgrade by running:
serverless upgrade
Windows
Install with Chocolatey:
choco install serverless
Upgrade:
choco upgrade serverless
Installing via npm
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
Upgrade
npm update -g serverless
Install through your Pro account
If you’ve signed up for Serverless Framework Pro, login to your dashboard from the CLI:
serverless login
You can either add a new service in your dashboard, or with the CLI, using the command:
serverless
If you haven’t tried Serverless Framework Pro yet, sign up for free.
Learn more about Serverless Framework Pro.