The FlexAI CLI does not currently support directly logging in from a virtual non-graphical environment, such as a Virtual Machine (VM) instance. This is because the CLI requires a web browser to authenticate the user through their GitHub account. There is however a workaround to this current limitation: You can install the FlexAI CLI on a machine equipped with a web browser, log in using theDocumentation Index
Fetch the complete documentation index at: https://docs.flex.ai/llms.txt
Use this file to discover all available pages before exploring further.
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