@serverless-stack/cli

A CLI to help deploy Serverless Stack apps.

Usage no npm install needed!

<script type="module">
  import serverlessStackCli from 'https://cdn.skypack.dev/@serverless-stack/cli';
</script>

README

@serverless-stack/cli npm

Logo

Part of the Serverless Stack Framework. The sst CLI allows you to build, deploy, and test Serverless Stack apps.

View the @serverless-stack/cli docs here.

Quick Start

Create your first SST app.

# Create your app
$ npx create-serverless-stack@latest my-sst-app
$ cd my-sst-app

# Start Live Lambda Development
$ npx sst start

# Deploy to prod
$ npx sst deploy --stage prod

sst start

Live Lambda Development

The sst start command starts up a local development environment that opens a WebSocket connection to your deployed app and proxies any Lambda requests to your local machine. This allows you to:

  • Work on your Lambda functions locally
  • Supports all Lambda triggers, so there's no need to mock API Gateway, SQS, SNS, etc.
  • Supports real Lambda environment variables and Lambda IAM permissions
  • And it's fast. There's nothing to deploy when you make a change!

Read more about Live Lambda Development.

Documentation

Check out the SST docs