# Install rancher-cli with Homebrew, MacPorts, zypper, scoop, Nix

Unified tool to manage your Rancher server. Version 2.15.0 via Homebrew; verified 2026-07-31. Also installable with zypper: sudo zypper install rancher-cli.

## Install

```sh
sudo av install brew:rancher-cli
```

Additional install commands:

### macOS

- Homebrew (100%):

```sh
brew install rancher-cli
```

  Evidence: local Homebrew formula metadata

- MacPorts (94%):

```sh
sudo port install rancher-cli
```

  Evidence: MacPorts ports tree: devel/rancher-cli/Portfile from https://api.github.com/repos/macports/macports-ports/git/trees/master?recursive=1

### Linux

- zypper (92%):

```sh
sudo zypper install rancher-cli
```

  Evidence: openSUSE Tumbleweed package metadata: rancher-cli from https://download.opensuse.org/tumbleweed/repo/oss/repodata/50b07339cb64c8ed4091bdbabddadc1ff5737b090e478818a195b40d8a3292861a879139b4a3987c31109699fde9fbf4a716367ddf4eef77da75f96e3193d6ed-primary.xml.zst

- Nix (92%):

```sh
nix profile install nixpkgs#rancher
```

  Evidence: nixpkgs package indexes: pkgs/by-name/ra/rancher/package.nix from https://api.github.com/repos/NixOS/nixpkgs/git/trees/master?recursive=1

### Windows

- Scoop (92%):

```sh
scoop install main/rancher-cli
```

  Evidence: Scoop official bucket manifest trees: bucket/rancher-cli.json from https://api.github.com/repos/ScoopInstaller/Main/git/trees/master?recursive=1

## Package facts

- **Package key:** brew:rancher-cli
- **Package manager:** Homebrew
- **Version:** 2.15.0
- **Source summary:** Unified tool to manage your Rancher server
- **Homepage:** <https://github.com/rancher/cli>
- **Repository:** <https://github.com/rancher/cli>
- **Last updated:** 2026-07-31T05:36:44Z
- **Generated:** 2026-08-03T19:37:03+00:00

## Executables

- rancher (alias)

## Install behavior

- Bottle: not available

## Freshness

- Page generated: 2026-08-03
- Package-manager version: 2.15.0

## Security Notes

broad file, network, media, or database tool signal.

- **Geiger risk:** blue / medium
- broad file, network, media, or database tool signal


## Configuration and credential file locations

These source-backed paths show where this package keeps local settings or durable credentials. Automic Vault can use them as review targets for secret scanning, migration, and command approval.


## Configuration files

- Unix: ~/.rancher/cli2.json

## Credential files

- Unix: ~/.rancher/cli2.json
## Other Package-Manager Records

- zypper - rancher-cli - 2.15.0-1.1: normalized package name match | openSUSE Tumbleweed package metadata: rancher-cli from https://download.opensuse.org/tumbleweed/repo/oss/repodata/50b07339cb64c8ed4091bdbabddadc1ff5737b090e478818a195b40d8a3292861a879139b4a3987c31109699fde9fbf4a716367ddf4eef77da75f96e3193d6ed-primary.xml.zst | Rancher CLI | https://github.com/rancher/cli
- MacPorts - rancher-cli: normalized package name match | MacPorts ports tree: devel/rancher-cli/Portfile from https://api.github.com/repos/macports/macports-ports/git/trees/master?recursive=1
- Scoop - main/rancher-cli: normalized package name match | Scoop official bucket manifest trees: bucket/rancher-cli.json from https://api.github.com/repos/ScoopInstaller/Main/git/trees/master?recursive=1
- Nix - rancher: installed executable or alias match | nixpkgs package indexes: pkgs/by-name/ra/rancher/package.nix from https://api.github.com/repos/NixOS/nixpkgs/git/trees/master?recursive=1


## Combined YAML source

View the package source record on GitHub. [combined/rancher-cli.yml](https://github.com/mxcl/pkgdb/blob/main/combined/rancher-cli.yml)


## Sources

- pkg.so package database
- Geiger risk classifier
- curated configuration and credential file locations
- pkgdb category and tag curation
- external package-manager database matches
- cross-ecosystem install command graph
