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

# CLI Installation

> Install the noorle CLI on Linux and macOS via curl script or manual binary, verify with noorle --version, and enable Bash, Zsh, or Fish completion

Install the Noorle CLI for your operating system.

## Linux/macOS

```bash theme={null}
curl -L cli.noorle.dev | sh
```

Verify installation:

```bash theme={null}
noorle --version
```

## Manual Installation

Download the appropriate binary for your platform from the [latest release page](https://github.com/noorle/cli-releases/releases/latest).

After downloading:

```bash theme={null}
chmod +x noorle
sudo mv noorle /usr/local/bin/
```

## Verify Installation

```bash theme={null}
$ noorle --version
noorle version 1.2.3

$ noorle help
Usage: noorle [COMMAND] [OPTIONS]
```

## Update CLI

```bash theme={null}
noorle update
# or
curl -L cli.noorle.dev | sh
```

## Uninstall

```bash theme={null}
# If installed via script
rm -rf ~/.noorle
# Remove from PATH in your shell config
```

## Shell Completion

Enable tab completion:

```bash theme={null}
# Bash
noorle completion bash | sudo tee /usr/share/bash-completion.d/noorle

# Zsh
noorle completion zsh | sudo tee /usr/share/zsh/site-functions/_noorle

# Fish
noorle completion fish | sudo tee /usr/share/fish/vendor_completions.d/noorle.fish
```

## Troubleshooting

**"Command not found"**

* Ensure `/usr/local/bin` is in your PATH
* Reinstall the CLI

**Permission denied**

* CLI needs execute permission
* Run: `chmod +x /usr/local/bin/noorle`

**Wrong version installed**

* Check: `which noorle`
* Remove old version first: `sudo rm /path/to/noorle`

## Next Steps

* [CLI Overview](/reference/cli/overview)
* [Commands Reference](/reference/cli/commands)
