@serverless-stack/cli
v1.18.4
Published
A CLI to help deploy SST apps.
Downloads
17,816
Readme
@serverless-stack/cli
Part of the SST Framework. The sst
CLI allows you to build, deploy, and test SST apps.
View the @serverless-stack/cli docs here.
Quick Start
Create your first SST app.
# Create your app
$ npm init sst
$ cd my-sst-app
$ npm i
# Start Live Lambda Development
$ npm start
# Deploy to prod
$ npx sst deploy --stage prod
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.