# Namespace Command Line Tools

Namespace has two command line tools. `nsc` drives the Namespace platform, and `devbox` drives Devboxes. They are installed separately, and each one authenticates against your [workspace](/content/docs/workspaces.md) on its own.

## Get started

**Namespace CLI**

```bash theme={null}
curl -fsSL https://get.namespace.so/cloud/install.sh | sh
nsc login

# Start an ephemeral instance, then open a shell in it
nsc create
nsc ssh <instance-id>
```

See [Installation](/content/docs/reference/cli/installation.md) for Homebrew, npm, Hermit, and Windows.

**Devbox CLI**

```bash theme={null}
curl -fsSL get.namespace.so/devbox/install.sh | bash
devbox login

# Create a Devbox, then open a shell in it
devbox create --name my-devbox
devbox ssh my-devbox
```

See [Installation](/content/docs/reference/devbox-cli/installation.md) for macOS, Linux, and Windows.

## Common tasks

Both tools cover the same shape of work on different resources.

| Task | Namespace CLI | Devbox CLI |
| - | - | - |
| Log in | [`nsc login`](/content/docs/reference/cli/login/index.html) | [`devbox login`](/content/docs/reference/devbox-cli/auth#devbox-auth-login/index.html) |
| Create | [`nsc create`](/content/docs/reference/cli/create/index.html) | [`devbox create`](/content/docs/reference/devbox-cli/create/index.html) |
| List what is running | [`nsc list`](/content/docs/reference/cli/list/index.html) | [`devbox list`](/content/docs/reference/devbox-cli/list/index.html) |
| Open a shell | [`nsc ssh`](/content/docs/reference/cli/ssh/index.html) | [`devbox ssh`](/content/docs/reference/devbox-cli/ssh/index.html) |
| Run one command | [`nsc run`](/content/docs/reference/cli/run/index.html) | [`devbox exec`](/content/docs/reference/devbox-cli/exec/index.html) |
| Tear down | [`nsc destroy`](/content/docs/reference/cli/destroy/index.html) | [`devbox delete`](/content/docs/reference/devbox-cli/delete/index.html) |
