Skip to content
carton
Esc
↑↓navigate↵open⌘Jpreview
On this page

Get started with carton

Install carton, connect a sandbox provider, then use the CLI or SDK to run your code.

Carton gives you the same commands for sandboxes across providers. Choose where your sandbox runs, then create it, run commands, and destroy it when you are done.

These docs preview the release experience. The CLI examples use existing commands. Release installation, guided provider setup, and the public SDK are still in development.

Install and connect

  1. Install carton. One binary includes the CLI and the service it connects to.
  2. Set up your connection. Use your own provider account or connect to an existing Carton instance.

You do not need Docker to use a hosted provider. Docker is an optional choice for running sandboxes on your own machine.

Choose how to use carton

Use the CLI quickstart to create a sandbox and run your first command from a terminal.

For application code, see the TypeScript SDK preview. The SDK will cover the same sandbox lifecycle. Its public package and API are not released yet.

See Providers for provider-specific requirements, or Configuration concepts for targets and routes. The API reference documents HTTP requests and response schemas.