Skip to content

Install the Run:ai Administrator Command-line Interface

The Run:ai Administrator Command-line Interface (Administrator CLI) allows performing administrative tasks on the Run:ai Cluster.

The instructions below will guide you through the process of installing the Administrator CLI.

Prerequisites

  • Run:ai Administrator CLI runs on Mac and Linux.
  • Kubectl (Kubernetes command-line interface) installed and configured to access your cluster. Please refer to https://kubernetes.io/docs/tasks/tools/install-kubectl/
  • A Kubernetes configuration file obtained from a computer previously connected to the Kubernetes cluster

Kubernetes Configuration

The Run:ai Administrator CLI requires a Kubernetes profile with cluster administrative rights.

Installation

Download the Run:ai Administrator Command-line Interface by running:

wget --content-disposition https://app.run.ai/v1/k8s/admin-cli/darwin
chmod +x runai-adm
sudo mv runai-adm /usr/local/bin/runai-adm
wget --content-disposition https://app.run.ai/v1/k8s/admin-cli/linux
chmod +x runai-adm
sudo mv runai-adm /usr/local/bin/runai-adm
  • Download the latest release from the Run:ai releases page
  • Unarchive the downloaded file
  • Install by running: sudo ./install-runai.sh

To verify the installation run:

runai-adm version

Updating the Run:ai Administrator CLI

To update the CLI to the latest version perform the same install process again.


Last update: June 7, 2022