Installing Run:ai CLI#

Administrators and researchers can use the Run:ai CLI to perform tasks ranging from configuring and managing the clusters to submitting, listing, and interactive with jobs.

Perform following steps to download Run:ai CLI.

  1. Select the ? on the right side of the navigation bar.

    _images/installing-runai-cli-01.png
  2. Select Researcher Command Line Interface.

    _images/installing-runai-cli-02.png
  3. Specify Linux on the resulting screen and then copy the highlighted wget code.

    _images/installing-runai-cli-03.png
  4. ssh into the head node and paste in the copied wget code to download the CLI binary.

    wget --content-disposition https://basepod-nvidia-runai.runai-poc.com/cli/linux
    

    Example result.

    --2023-01-20 12:51:44--  https://basepod-nvidia-runai.runai-poc.com/cli/linux
    Resolving basepod-nvidia-runai.runai-poc.com (basepod-nvidia-runai.runai-poc.com)... 10.130.122.9
    Connecting to basepod-nvidia-runai.runai-poc.com (basepod-nvidia-runai.runai-poc.com)|10.130.122.9|:443... connected.
    HTTP request sent, awaiting response... 200 OK
    Length: unspecified [application/octet-stream]
    Saving to: ‘runai’
    
    runai                     [           <=>         ]  61.15M  30.2MB/s    in 2.0s
    
    2023-01-20 12:51:46 (30.2 MB/s) - ‘runai’ saved [64118773]
    
  5. Change the permission of the bindary to execute.

    chmod +x runai
    
  6. Move the binary to /usr/local/bin.

    mv runai /usr/local/bin/runai
    

The Run:ai CLI is now ready to be executed.