> ## 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.

# Installation

You can download and install `nsc`, the CLI for Namespace, by following the instructions below for your OS.
Our CLI is [open-source](https://github.com/namespacelabs/foundation/tree/main/cmd/nsc) and built atop our [SDK](https://github.com/namespacelabs/integrations).

<Tabs>
  <Tab title="Homebrew">
    ```bash theme={null}
    brew install namespacelabs/namespace/nsc
    ```

    Namespace is continuously evolving, and new versions of the `nsc` tool
    are released regularly. To update run:

    ```bash theme={null}
    brew upgrade nsc
    ```
  </Tab>

  <Tab title="macOS">
    ### Install

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

    ### Updating

    Namespace is continuously evolving, and new versions of the `nsc` tool
    are released regularly. To update the tool run:

    ```bash theme={null}
    nsc version update
    ```
  </Tab>

  <Tab title="Linux">
    ### Install

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

    ### Updating

    Namespace is continuously evolving, and new versions of the `nsc` tool
    are released regularly. To update the tool run:

    ```bash theme={null}
    nsc version update
    ```
  </Tab>

  <Tab title="Windows">
    ### Install

    Run the following command in PowerShell:

    ```bash theme={null}
    irm https://get.namespace.so/cloud/install.ps1 | iex
    ```

    ### Updating

    Namespace is continuously evolving, and new versions of the `nsc` tool
    are released regularly. To update the tool, run:

    ```bash theme={null}
    nsc version update
    ```
  </Tab>

  <Tab title="npm">
    ## Install globally

    ```bash theme={null}
    npm install -g @namespacelabs/cli
    ```

    This installs the `nsc` command globally on your system.

    ## Run with npx

    You can also run `nsc` without installing it globally:

    ```bash theme={null}
    npx @namespacelabs/cli
    ```

    To update to the latest version:

    ```bash theme={null}
    npm update -g @namespacelabs/cli
    ```
  </Tab>

  <Tab title="Hermit">
    [Hermit](https://cashapp.github.io/hermit/) manages isolated, self-bootstrapping sets of tools
    in software projects.

    ```bash theme={null}
    hermit install nsc
    ```
  </Tab>
</Tabs>
