Skip to content

Latest commit

 

History

History
 
 

Folders and files

NameName
Last commit message
Last commit date

parent directory

..
 
 
 
 
 
 
 
 
 
 
 
 
 
 

README.md

create-serverless-stack npm

A simple CLI (create-serverless-stack) that helps you create your Serverless Stack projects.

View the create-serverless-stack docs here.

Usage

There's no need install this CLI. Just use it directly to create your projects.

With npx.

$ npx create-serverless-stack@latest my-sst-app

Or with npm 6+

$ npm init serverless-stack@latest my-sst-app

Or with Yarn 0.25+

$ yarn create serverless-stack my-sst-app

This will create an app in the my-sst-app/ directory.

Options

Pass in the following (optional) options.

--language

The language of the project: javascript, typescript, python, go, csharp, or fsharp. Defaults to javascript. For example:

$ npm init serverless-stack@latest my-sst-app -- --language typescript

Note that extra -- when using npm init.

--use-yarn

Use Yarn instead of npm as the packager. Defaults to npm. For example:

$ yarn create serverless-stack my-sst-app --use-yarn