# Installation

### Homebrew (macOS and Linux)[​](#homebrew-macos-and-linux "Direct link to Homebrew (macOS and Linux)")

```
brew tap universokobana/tap

brew install kobana
```

To update:

```
brew update && brew upgrade kobana
```

### Prebuilt binaries[​](#prebuilt-binaries "Direct link to Prebuilt binaries")

Download the binary for your platform from the [Releases page](https://github.com/universokobana/kobana-cli/releases/latest) and put it on your `PATH`.

| Platform            | File                       |
| ------------------- | -------------------------- |
| Linux x86\_64       | `kobana-linux-amd64`       |
| Linux ARM64         | `kobana-linux-arm64`       |
| macOS Intel         | `kobana-darwin-amd64`      |
| macOS Apple Silicon | `kobana-darwin-arm64`      |
| Windows x86\_64     | `kobana-windows-amd64.exe` |

### Nix[​](#nix "Direct link to Nix")

```
# Run straight from GitHub

nix run github:universokobana/kobana-cli



# Install into the profile

nix profile install github:universokobana/kobana-cli
```

### Build from source[​](#build-from-source "Direct link to Build from source")

```
git clone https://github.com/universokobana/kobana-cli.git

cd kobana-cli

cargo install --path crates/kobana-cli
```

Requires [Rust](https://rustup.rs/) 1.70+.

## Shell completions[​](#shell-completions "Direct link to Shell completions")

```
# Bash

kobana completions bash > /etc/bash_completion.d/kobana



# Zsh

kobana completions zsh > ~/.zfunc/_kobana



# Fish

kobana completions fish > ~/.config/fish/completions/kobana.fish



# PowerShell

kobana completions powershell > kobana.ps1
```

## Next steps[​](#next-steps "Direct link to Next steps")

* [Authentication](https://docs.dashboards.kobana.com.br/en/en/cli/overview/authentication.md) — tokens and environments.
* [Usage](https://docs.dashboards.kobana.com.br/en/en/cli/usage/overview.md) — syntax, resources, examples.
