sst.config.ts. You’ll need this command when:
- You add a new provider to the
providersorhomein your config. - Or, when you want to install new providers after you
git pullsome changes.
The
sst install command is similar to npm install.sst.config.ts, it’ll install their latest versions.
How it works
When you runsst install, the CLI will:
- Read the
providersconfiguration from yoursst.config.ts - Download and install the provider packages
- Add the providers to your TypeScript globals for type safety
- Cache the providers for faster subsequent installs
Examples
Install all providers
Install all providers defined in your config:After adding a provider manually
If you manually added a provider to yoursst.config.ts:
sst.config.ts