Get the essential command-line tools and packages to accelerate your StatelyDB development workflow. These tools are designed to integrate seamlessly into your existing environment, from local development to CI/CD pipelines.
The stately CLI is your primary tool for interacting with the StatelyDB platform. Use it to manage your account, publish schema changes, and generate type-safe client SDKs for your applications.
This is the recommended installation method. The following command downloads the latest binary for your platform and installs it in your path.
curl -sL https://stately.cloud/install | shYou can upgrade to the latest version at any time by running stately upgrade.
For developers in a Node.js environment, you can also install the CLI globally using NPM.
npm install -g @stately-cloud/cliThe stately CLI is your primary tool for interacting with the StatelyDB platform. Use it to manage your account, publish schema changes, and generate type-safe client SDKs for your applications.
This is the recommended installation method. The following command downloads the latest binary for your platform and installs it in your path.
curl -sL https://stately.cloud/install | shYou can upgrade to the latest version at any time by running stately upgrade.
For developers in a Node.js environment, you can also install the CLI globally using NPM.
npm install -g @stately-cloud/cliTo enable a powerful, conversational "vibe coding" workflow, you can use our Model Context Protocol (MCP) Server. This package allows AI assistants like Claude Desktop to interact directly with StatelyDB, empowering them to write, validate, and publish schemas based on your natural language prompts.
npx -y @stately-cloud/statelydb-mcp-server@latestRefer to our AI Tooling guide for setup instructions. The MCP server is run on-demand using npx and does not require a separate download.
To enable a powerful, conversational "vibe coding" workflow, you can use our Model Context Protocol (MCP) Server. This package allows AI assistants like Claude Desktop to interact directly with StatelyDB, empowering them to write, validate, and publish schemas based on your natural language prompts.
npx -y @stately-cloud/statelydb-mcp-server@latest