serverless/docs/getting-started.md
svetlana-sts 498cc2066a
Update the /framework/docs/getting-started/ page (update content Mar 19) (#7488)
* Update the /framework/docs/getting-started/ page

* Update the /framework/docs/getting-started/ page (run Prettier)

* Update the /framework/docs/getting-started/ page (update content Mar 19)
2020-03-19 10:04:40 -07:00

2.5 KiB
Raw Blame History

Get started with Serverless Framework Open Source & AWS

Getting started with Serverless Frameworks 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

  1. Run this command in your terminal:
curl -o- -L https://slss.io/install | bash
  1. After installation completes, open another terminal window, then run this command:
serverless
  1. 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

Install via npm

If you dont already have Node 6 or higher on your machine, youll need to do that first.

Install the serverless CLI:

npm install -g serverless

Upgrade:

npm update -g serverless

Set up your free Pro account

Learn more about Serverless Framework Pro and sign up for free.

Once youve signed up for Pro, login to your Pro dashboard from the CLI:

serverless login

You can either add a new service in your dashboard, or with the CLI, using the command:

serverless