All apps/Rancher CLI

Rancher CLI

rancher

The Rancher Command Line Interface (CLI) is a unified tool for interacting with your Rancher Server.

Runs as rancher|macOS, Linux, Windows|github.com

Autocomplete

Fig spec, with what the manifest adds · 39 subcommands · 4 options
Published once and never changed; check the digest before caching
sha256
297ab027f86385c7265632e4c3d50935ba5cdc8c99af8e56c0a782a3a50e2043
Size
14720 bytes
Subcommands39 subcommands
rancher apps
Operations with apps. Uses helm. Flags are prepended with 'helm' can also be accurately described by helm documentation
rancher apps ls
List all apps in the current Rancher server
rancher apps delete
Delete an app
rancher apps install
Install an app template
rancher apps rollback
Rollback an app to a previous version
rancher apps upgrade
Upgrade an existing app to a newer version
rancher apps list-templates
List templates available for installation
rancher apps show-tempate
Show versions available to install for an app template
rancher apps show-app
Show an app's available versions and revisions
rancher apps show-notes
Show contents of apps notes.txt
rancher catalog
Operations with catalogs
rancher catalog ls
List all catalogs in the current Rancher server
rancher catalog add
Add a catalog
rancher clusters
Operations on clusters
rancher context
Operations for the context
rancher globaldns
Operations on global DNS providers and entries
rancher inspect
View details of resources
rancher kubectl
Run kubectl commands
rancher login
Login to a Rancher server
rancher machines
Operations on machines
rancher multiclusterapps
Operations with multi-cluster apps
rancher namespaces
Operations on namespaces
rancher nodes
Operations on nodes
rancher projects
Operations on projects
rancher ps
Show workloads in a project
rancher server
Operations for the server
rancher server current
Display the current server
rancher server delete
⚠️ Delete a server from the local config
rancher server ls
List all servers
rancher server switch
Switch to a new server
rancher settings
Show settings for the current server
rancher settings ls
List settings
rancher settings get
Print a setting
rancher settings set
Set the value for a setting
rancher ssh
SSH into a node
rancher up
Apply compose config
rancher wait
Wait for resources cluster, app, project, multiClusterApp
rancher token
Authenticate and generate new kubeconfig token
rancher help
Shows a list of commands or help for one command
OptionsOn rancher itself
--debug
Debug logging
--config-c
Path to rancher config (default: `$home/.rancher`) [$RANCHER_CONFIG_DIR] <RANCHER_CONFIG_PATH>
--help-h
Show help for rancher cli
--version-v
Print the version