Quickstart
Install the CLI, link a repository and ship it to production. You will end with a live URL, a preview for every branch and a rivetlane.toml you can commit.
Install rivet globally and check the version. Every command in these docs assumes CLI 5.0 or later.
$ npm install -g @rivetlane/cli$ rivet --versionExpected output
rivet/5.0.2 darwin-arm64 node-v20.17.0Opens your browser to approve the device. The token is stored in your system keychain, never in the project.
$ rivet loginExpected output
→ Opening https://rivetlane.dev/device?code=QXRV-7241✓ Logged in as [email protected] (Quillon)Run rivet init in the repository root. It detects the framework, creates the project and writes rivetlane.toml.
$ rivet initExpected output
✓ Detected Next.js 15 (pnpm)✓ Created project storefront in Quillon✓ Wrote rivetlane.tomlBuilds the current commit and promotes it to your production URL once the build passes.
$ rivet deploy --prodExpected output
→ Building storefront@a41c9e2 (main)✓ Build completed in 38s✓ Deployed to production https://storefront.rivetlane.appstorefront is serving from 18 regions. Push a branch to get a preview URL, or keep going with one of these.