Skip to content

Latest commit

 

History

History
113 lines (75 loc) · 1.71 KB

create-sst.md

File metadata and controls

113 lines (75 loc) · 1.71 KB
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.


Usage

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.


Options

Pass in the following (optional) options.

--template

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

Arguments

<destination>

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