title | description |
---|---|
create-sst |
Reference docs for the create-sst CLI. |
import MultiPackagerCode from "@site/src/components/MultiPackagerCode"; import config from "../../config"; import TabItem from "@theme/TabItem"; import HeadlineText from "@site/src/components/HeadlineText";
A simple CLI to create new SST projects.
There's no need to install this CLI. Just use it directly to create your projects.
npx create-sst@latest
yarn create sst
pnpm create sst
This will prompt you for a name and bootstrap a new project in that directory.
Pass in the following (optional) options.
Instead of the standard starter, you can choose to use one of our <a href={${config.github}//tree/master/packages/create-sst/bin/presets
}>minimal setups or examples as the template to bootstrap.
npx create-sst@latest --template=other/go
yarn create sst --template=other/go
pnpm create sst --template=other/go
Specify a project name, instead of typing it into the interactive prompt.
npx create-sst@latest my-sst-app
yarn create sst my-sst-app
pnpm create sst my-sst-app