# Hatchet CLI Setup & Installation

The Hatchet CLI is a command-line tool with utilities for running workers locally, interacting with a running Hatchet deployment, and running a local Hatchet instance for development.

## Features

- **Quickstarts**: the [`hatchet quickstart`](/reference/cli/quickstarts) command generates a worker project from a template to help you get started quickly.

- **Local worker reloading**: the [`hatchet worker dev`](/reference/cli/running-workers-locally) command lets you run a worker locally with automatic reloading when code changes are detected.

- **A full built-in TUI**: the [`hatchet tui`](/reference/cli/tui) command lets you interact with your Hatchet deployment through a terminal user interface (TUI) that provides real-time observability into tasks, workflows, workers, and more.

- **Profiles**: the [`hatchet profile`](/reference/cli/profiles) commands allow you to manage multiple Hatchet instances and tenants with named profiles, making it easy to switch between different environments.

## Installation

The recommended way to install the Hatchet CLI is via our install script, Homebrew, or npm:

#### Native Install (Recommended)

**MacOS, Linux, WSL**

```sh
    curl -fsSL https://install.hatchet.run/install.sh | bash
```

To install a specific version, pass a release tag to the install script:

```sh
    curl -fsSL https://install.hatchet.run/install.sh | bash -s -- vX.Y.Z
```

#### Homebrew

**MacOS**

```sh
    brew install hatchet-dev/hatchet/hatchet --cask
```

#### npm

**MacOS, Linux, Windows**

```sh
    npm i -g @hatchet-dev/cli
```

## Verifying Installation

After installation, verify that the Hatchet CLI is installed correctly by checking its version:

```sh
hatchet --version
```

## Anonymous Telemetry

The CLI sends anonymous usage telemetry to help us understand which versions and platforms are in use and prioritize our work. No personal data is collected: each ping contains only the CLI version, operating system, and CPU architecture, keyed to a randomly generated install identifier stored in `~/.hatchet/telemetry_id`. This identifier is not derived from your machine, user, or network identity.

Telemetry is enabled by default. To disable it, set the following in `~/.hatchet/config.yaml`:

```yaml
telemetry:
  enabled: false
```

or set the environment variable:

```sh
export HATCHET_CLI_TELEMETRY_ENABLED=false
```
