installation.md

Installation

You can download and install nsc, the CLI for Namespace, by following the instructions below for your OS. Our CLI is open-source and built atop our SDK.

Homebrew

brew install namespacelabs/namespace/nsc

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

brew upgrade nsc

macOS

Install

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:

nsc version update

Linux

Install

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:

nsc version update

Windows

Install

Run the following command in PowerShell:

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:

nsc version update

npm

Install globally

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:

npx @namespacelabs/cli

To update to the latest version:

npm update -g @namespacelabs/cli

Hermit

Hermit manages isolated, self-bootstrapping sets of tools in software projects.

hermit install nsc