flexai auth login authenticates you through your GitHub account.
Install the FlexAI CLI on a machine equipped with a web browser, log in using the flexai auth login command, and then copy the FlexAI CLI configuration file contents to the VM’s $HOME/.flexai/config.yaml configuration file:
- Log into FlexAI from a machine equipped with a web browser
- Open the
$HOME/.flexai/config.yamlfile on that machine - Copy its contents
- Open the
$HOME/.flexai/config.yamlfile on your machine without a graphical environment - Paste the contents of the first configuration file into the second one