For AI agents: an index of this documentation is at https://developer.rippling.com/llms.txt. Public pages have a Markdown version at the same URL with .md added.

Skip to main content
Beta

Package lifecycle with the Rippling CLI

See how the Rippling CLI, agents, packages, versions, and sandboxes connect, then walk from a local project to installing a published package version.

Use with AI:Rippling AI ChatGPT Claude Cursor

This page shows how the Rippling CLI, AI agents, packages, versions, and developer sandboxes fit together, then walks the package lifecycle from a local project to installing a published version in a sandbox.

Access to the Developer Program, developer sandboxes, and the package commands on this page is gated behind a closed beta. Apply in Get started with the Developer Program before you run these steps.

For agent setup (docs rules, first API call, and credentials), use Build on Rippling with AI tools. This page covers the CLI package lifecycle only. You can also create a package on the Packages page in your Developer account.


How the pieces fit together​

PieceWhat it isHow it relates
Rippling CLITerminal tool for sandboxes, projects, packages, listings, and related Platform API calls. You can run it yourself or from an AI coding agent.Install and sign in once. Pass --context so each command hits your Developer account or a sandbox. See Get started with the Rippling CLI.
AI agentA coding agent (for example Cursor, Claude Code, or Codex) that can run CLI commands and follow Rippling docs.Point the agent at current docs and API auth in Build on Rippling with AI tools. Optionally install CLI skills with rippling skills install in Agents.
Local projectFiles on your machine created by rippling project init, including rippling.manifest.ts and component source.You edit and deploy the project into a sandbox. Packaging creates a draft version; publishing makes that version installable. See Build on the Developer Platform.
PackageA versioned bundle of platform primitives (such as custom apps, functions, custom objects, agents, and workflows). Packages can be managed or unmanaged.Your Developer account owns the package. Create a draft with rippling project package, publish it, then install that version into a sandbox.
VersionA package snapshot identified by a version id. A version starts as an unpublished draft.Only published versions can be installed. List drafts and published versions with rippling package version list.
Developer sandboxAn isolated Rippling company seeded with mock mid-size company data.Create a sandbox from your Developer account, deploy and preview the project there, then install a published version in a sandbox to test. Prefer a different sandbox for that install. See Overview of developer sandboxes.

In order: sign in to the CLI as your Developer account → create a sandbox and save it as a context → init and deploy a local project into that sandbox → create a draft package version → publish it → install and test through the install page → release later versions with --bump.


Walk through the package lifecycle​

Complete these steps after Developer Program approval. Command detail for sandbox setup, project scaffolding, and deploy also lives in Build on the Developer Platform.

Requirements​

1. Install the CLI and sign in​

npm install --global @rippling/cli@beta --@rippling:registry=https://registry.npmjs.org/
rippling version
rippling login
rippling config context list --json

Confirm developer-account appears in the context list.

export SANDBOX_NAME="My app sandbox"
export PACKAGE_KEY="my_package"
export INSTALL_KEY="demo"

2. Create a developer sandbox​

Each company has a sandbox quota of three sandboxes. If create returns HTTP 403 with You've already created the maximum number of sandboxes, reuse or delete an existing sandbox instead.

rippling --context developer-account sandbox list --json
cat > sandbox-config.json <<'EOF'
{
"developer": {
"company_size": "MEDIUM"
}
}
EOF

rippling --context developer-account sandbox create \
--name "$SANDBOX_NAME" \
--type developer \
--description "Developer sandbox" \
--config-override-file sandbox-config.json \
--json

Copy handle from the response, then save the sandbox as a context. sandbox use also makes that context the default.

export SANDBOX_HANDLE="<handle>"

rippling --context developer-account sandbox use \
--alias "$SANDBOX_HANDLE" \
--context-name sandbox-dev

3. Create a local project​

Scaffold the project and first components with --with. project init creates files locally. It does not deploy or publish.

mkdir -p ~/projects && cd ~/projects

rippling project init --name "my-app" \
--with custom-app:my-app \
--with function:page \
--with function:grid
cd my-app

Allowed --with values include custom-app:<name>, function:<name>, custom-object:<name>, agent:<name>, and workflow:<name>.

Add more components later with project add, or write them in rippling.manifest.ts:

rippling project add custom-object --name employee
rippling project add agent --name directory-helper

4. Develop and deploy in the sandbox​

Validate, then deploy the current rippling.manifest.ts into the development sandbox:

rippling --context sandbox-dev project validate
rippling --context sandbox-dev project deploy --yes --timeout 5m

After deployment finishes, a custom app appears in the sandbox UI. Edit the manifest and component files, then deploy again to preview changes.

5. Create a draft package version​

From the project root, with the developer-account context, create an unpublished draft. The command prints the version ID:

rippling --context developer-account project package \
--name "My Package" \
--type unmanaged \
--json
export VERSION_ID="<id>"

To review a draft before you publish it:

rippling --context developer-account api package-versions get \
--version-id "$VERSION_ID" \
--json

6. Publish the package version​

Publish the draft:

rippling --context developer-account api package-versions publish \
--version-id "$VERSION_ID"

To create the draft and publish it in one step, add --force-publish when you run project package.

rippling package version list --package-key KEY shows drafts and published versions together. Drafts have is_published set to false. rippling package get shows only the latest published version.

7. Install and test the published version​

Test a published version in a different sandbox from the one you built in, through the same install page customers use. Drafts cannot be installed; publish first. You need to be a full admin or a Developer Program member to open the install page.

Create another developer sandbox for testing if you need one, using the same create and sandbox use steps as Create a developer sandbox. Sign into that test sandbox in the Rippling web app. CLI authentication does not persist browser cookies.

Open the install page​

Open the install page while signed into the test sandbox, one of two ways:

  • If the package has a published App Shop listing: open the listing in the App Shop and click Install. If you're asked who installs it, select Yes, I'll install this integration and click Continue. If a purchase page appears, click Continue.
  • If it doesn't have a published listing: on the package's page in your Developer account, click Copy install URL, then open that URL while signed into the test sandbox.

Complete the install​

  1. On Installation Precheck, if Install as appears, select Me or a service account, and click Continue.
  2. Managed packages only: in the Package install key dialog, keep or edit the suggested install key, and click Install.
  3. When the install finishes, Rippling opens the package's landing app, or the installed package page if it has none.

Alternative: test in the sandbox you built in​

This works, but uninstall the package first so you get a clean install:

  1. In the sandbox, open the Installed Packages tab and click the package.
  2. Click Uninstall. A precheck runs; if other components reference the package, you'll see a list of them to resolve first. Otherwise, click Uninstall to confirm.

For managed packages you can also uninstall with the CLI:

rippling package uninstall --package-key "$PACKAGE_KEY" --install-key "$INSTALL_KEY"

Unmanaged packages can only be uninstalled in the UI. Then install the published version as in Open the install page and Complete the install.

8. Release a new version​

From the same project, create and publish the next version:

rippling --context developer-account project package \
--bump \
--force-publish

--bump defaults to a patch bump. Use --bump minor, --bump major, or --version X.Y.Z when you need a different version. After the version publishes, the new version is written to package.manifest.ts.


Use this with your agent​

To point Cursor, Claude Code, Codex, or a chat assistant at current Rippling docs and make a first API call, follow Build on Rippling with AI tools. That page covers the starter prompt, rules install, token handling, and troubleshooting.

After that setup, you can ask the agent to run the lifecycle commands on this page. For CLI-owned agent skills on the Developer Program path, see Agents.


See also​