CLI - Installation
Learn how to install the CLI to interact with AI Tools
Learn how to install the CLI to interact with AI Tools
Last updated 1st September, 2022.
This guide covers the installation of the ovhai CLI. The CLI is the recommended means of interaction with AI Training, AI Notebooks or AI Deploy services.
You can choose the cluster location for the ovhai CLI:
GRA
) in FranceBHS
) in CanadaHere by default we will use the region gra
in each of the commands. You are free to replace it with bhs
if you want.
You can then choose between two methods to install the ovhai
CLI.
You can install the ovhai
CLI with a single command line.
curl https://cli.gra.training.ai.cloud.ovh.net/install.sh | bash
Once done, go to Step 2.
If you encounter any issue with the automated installation you can also install manually.
You can also install the cli by following the link below:
https://cli.gra.training.ai.cloud.ovh.net
After downloading the right zip for your platform, unzip it and add it to your PATH
:
unzip ovhai-<platform>.zip
mkdir -p $HOME/bin
mv ovhai $HOME/bin/ovhai
export PATH=$PATH:$HOME/bin/
Once the ovhai CLI is installed, you need to authenticate with the AI Training service.
ovhai login
You have the choice between two methods to log in:
Use the credentials of your AI Training user to log in.
You can use the command ovhai --help
to list available actions and ovhai <action> --help
for more information about a specific action.
The documentation of the CLI is available at CLI documentation.
In addition, when performing any action in the AI Training, AI Notebooks or AI Deploy sections of the OVHcloud Control Panel you are provided with the equivalent command to get you started with the ovhai CLI.
Please send us your questions, feedback and suggestions to improve the service:
Prima di inviare la valutazione, proponici dei suggerimenti per migliorare la documentazione.
Immagini, contenuti, struttura... Spiegaci perché, così possiamo migliorarla insieme!
Le richieste di assistenza non sono gestite con questo form. Se ti serve supporto, utilizza il form "Crea un ticket" .
Grazie per averci inviato il tuo feedback.
Accedi al tuo spazio nella Community Fai domande, cerca informazioni, pubblica contenuti e interagisci con gli altri membri della Community OVHcloud
Discuss with the OVHcloud community