# Installation - Nitro

> Install the Nitro CLI as a .NET tool, via npm with `@chillicream/nitro`, through Homebrew, or as pre-built binaries from the GitHub releases page.

Canonical source: https://chillicream.com/docs/nitro/cli/installation

The Nitro CLI ships in several flavors so you can pick whatever fits your environment best.

## .NET tool

If you have the .NET SDK installed, you can install the CLI as a [.NET tool](https://learn.microsoft.com/dotnet/core/tools/global-tools).

Install as a local tool, scoped to a repository via a tool manifest. From the repository root:

```
dotnet new tool-manifest
dotnet tool install ChilliCream.Nitro.CommandLine
```

Local tools are restored with `dotnet tool restore` and invoked through `dotnet tool run nitro` (or `dotnet nitro`). Check the manifest (`./.config/dotnet-tools.json`) into source control so every collaborator uses the same version.

Or install globally:

```
dotnet tool install -g ChilliCream.Nitro.CommandLine
```

## npm

The CLI is published to npm as [@chillicream/nitro](https://www.npmjs.com/package/@chillicream/nitro). For one-off invocations run it with `npx`. The `@latest` tag opts out of npm's local cache so each run pulls the newest release:

```
npx @chillicream/nitro@latest --version
```

## Homebrew (macOS and Linux)

The CLI is available through the [chillicream/tools](https://github.com/ChilliCream/homebrew-tools) tap:

```
brew tap chillicream/tools
brew install nitro-cli
```

To upgrade later:

```
brew update
brew upgrade nitro-cli
```

## Pre-built binaries

Pre-built binaries for every supported OS and architecture are attached to each [GitHub release](https://github.com/ChilliCream/graphql-platform/releases).

| Platform                    | Asset                       |
| --------------------------- | --------------------------- |
| Linux x64                   | nitro-linux-x64.tar.gz      |
| Linux x64 (musl, Alpine)    | nitro-linux-musl-x64.tar.gz |
| Linux arm64                 | nitro-linux-arm64.tar.gz    |
| macOS x64 (Intel)           | nitro-osx-x64.zip           |
| macOS arm64 (Apple Silicon) | nitro-osx-arm64.zip         |
| Windows x64                 | nitro-win-x64.zip           |
| Windows x86                 | nitro-win-x86.zip           |

Extract the archive and place the `nitro` binary somewhere on your `PATH`. The binaries are self-contained, no .NET SDK or runtime is required on the target machine.

[Edit this page on GitHub](https://github.com/ChilliCream/graphql-platform/edit/main/website/content/docs/nitro/cli/installation.md)

Last updated on **June 30, 2026** by **Tobias Tengler**
