---
title: Get started with carton
description: Install carton, connect a sandbox provider, then use the CLI or SDK to run your code.
sidebar:
  label: Getting started
---

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](/docs/installation). One binary includes the CLI and the
   service it connects to.
2. [Set up your connection](/docs/configuration). 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](/docs/quickstart) to create a sandbox and run your
first command from a terminal.

For application code, see the [TypeScript SDK preview](/docs/sdk). The SDK
will cover the same sandbox lifecycle. Its public package and API are not
released yet.

See [Providers](/docs/providers) for provider-specific requirements, or
[Configuration concepts](/docs/concepts) for targets and routes.
The [API reference](/docs/api) documents HTTP requests and response schemas.

<!-- Sources: crates/carton/src/main.rs, crates/carton/src/client.rs, README.md, .scratch/carton/issues/27-spec-v1-mvp.md (CLI, SDK, packaging). -->
