> ## Documentation Index
> Fetch the complete documentation index at: https://namespace.so/docs/llms.txt
> Use this file to discover all available pages before exploring further.

# 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](/docs/workspaces) on its own.

<CardGroup cols={2}>
  <Card title="Namespace CLI" icon="square-terminal" href="/docs/reference/cli/installation">
    Install `nsc` and run the platform from your terminal.
  </Card>

  <Card title="Devbox CLI" icon="container" href="/docs/reference/devbox-cli/installation">
    Install `devbox` to create and work in Devboxes.
  </Card>
</CardGroup>

## Get started

<Tabs>
  <Tab title="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](/docs/reference/cli/installation) for Homebrew, npm, Hermit, and Windows.
  </Tab>

  <Tab title="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](/docs/reference/devbox-cli/installation) for macOS, Linux, and Windows.
  </Tab>
</Tabs>

## Common tasks

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

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

<Info>
  If you want to drive Namespace from code instead of a terminal, see the [API and SDKs](/docs/reference/sdk).
</Info>
