Skip to content

Install the CLI

The Run:AI Command-line Interface (CLI) is one of the ways for a researcher to send deep learning workloads, acquire GPU-based containers, list jobs, etc.

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



Kubernetes Configuration

The Run:AI CLI needs to be connected to the Kubernetes Cluster containing the GPU nodes:

  • Create a directory .kube. Copy the Kubernetes configuration file into the directory
  • Create a shell variable to point to the above configuration file. Example:

    export KUBECONFIG=~/.kube/config
  • Test the connection by running:

    kubectl get nodes

Run:AI CLI Installation

  • Download the latest release from the Run:AI releases page
  • Unarchive the downloaded file
  • Install by running:

    sudo ./
  • To verify the installation run:

    runai list

Troubleshooting the CLI Installation

See Troubleshooting a CLI installation

Updating the Run:AI CLI

To update the CLI to the latest version run:

sudo runai update

Last update: August 30, 2020