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

# Installation

> Install the neetokb CLI on macOS, Linux, or Windows.

Install the `neetokb` binary with the command for your platform, then [verify it](#verify-the-installation).

<CodeGroup>
  ```bash macOS theme={"system"}
  brew install neetozone/tap/neetokb
  ```

  ```bash Linux theme={"system"}
  curl -fsSL https://neetokb.com/cli/install.sh | sh
  ```

  ```powershell Windows theme={"system"}
  irm https://neetokb.com/cli/install.ps1 | iex
  ```
</CodeGroup>

The shell and Windows installers download the latest release for your architecture (`amd64` or `arm64`), extract it, and add `neetokb` to your `PATH`.

## Other install methods

<AccordionGroup>
  <Accordion title="macOS - shell script">
    ```bash theme={"system"}
    curl -fsSL https://neetokb.com/cli/install.sh | sh
    ```

    Installs to `/usr/local/bin` and may prompt for `sudo`. To update a Homebrew installation, run `brew upgrade neetokb`.
  </Accordion>

  <Accordion title="Windows - Command Prompt (CMD)">
    ```cmd theme={"system"}
    curl -fsSL https://neetokb.com/cli/install.cmd -o install.cmd && install.cmd
    ```

    Extracts to `%LOCALAPPDATA%\Programs\neetokb` and adds it to your user `PATH`. This is equivalent to the PowerShell method.
  </Accordion>
</AccordionGroup>

## Verify the installation

Restart your terminal, then run:

```bash theme={"system"}
neetokb --help
```

You should see the list of available commands. To check the installed version:

```bash theme={"system"}
neetokb version
```

## Keep it up to date

`neetokb update` detects how the CLI was installed and runs the right upgrade command for you:

```bash theme={"system"}
neetokb update
```

<Tip>
  Next, [sign in](/cli/authentication) to a workspace and run `neetokb doctor`
  to confirm the CLI can reach NeetoKB.
</Tip>
