Skip to content

doctor

Runs diagnostics to identify potential issues and check if the host system is ready to run the CLI.

Terminal window
flexai doctor

Terminal window
flexai doctor
Terminal window
Running doctor checks...
[1/4] ✅ The FlexAI binary file is part of the system's $PATH variable
[2/4] ✅ Successfully connected to the FlexAI API server
[3/4] ✅ Successfully connected to the FlexAI update server
[4/4] ✅ Using the latest FlexAI CLI version available
Your system is healthy

The FlexAI binary file is not part of the system’s $PATH variable

Section titled “The FlexAI binary file is not part of the system’s $PATH variable”
Terminal window
Running doctor checks...
[1/4] ❌ The FlexAI binary file is part of the system's $PATH variable
[2/4] ✅ Successfully connected to the FlexAI API server
[3/4] ✅ Successfully connected to the FlexAI update server
[4/4] ✅ Using the latest FlexAI CLI version available
Your system is not healthy

To fix this:

Add the ~/.flexai/bin directory to your $PATH:

Terminal window
echo 'export PATH="$PATH:$HOME/.flexai/bin"' >> ~/.bashrc && source ~/.bashrc
Terminal window
Running doctor checks...
[1/4] ✅ The FlexAI binary file is part of the system's $PATH variable
[2/4] ❌ Successfully connected to the FlexAI API server
[3/4] ✅ Successfully connected to the FlexAI update server
[4/4] ✅ Using the latest FlexAI CLI version available
Your system is not healthy

Check your internet connection and try again.

Terminal window
Running doctor checks...
[1/4] ✅ The FlexAI binary file is part of the system's $PATH variable
[2/4] ✅ Successfully connected to the FlexAI API server
[3/4] ❌ Successfully connected to the FlexAI update server
[4/4] ✅ Using the latest FlexAI CLI version available
Your system is not healthy

Check your internet connection and try again.

Terminal window
Running doctor checks...
[1/4] ✅ The FlexAI binary file is part of the system's $PATH variable
[2/4] ❌ Successfully connected to the FlexAI API server
[3/4] ❌ Successfully connected to the FlexAI update server
[4/4] ✅ Using the latest FlexAI CLI version available
Your system is not healthy

Check your internet connection and try again.

An update is required, run flexai update to get the latest version

Section titled “An update is required, run flexai update to get the latest version”
Terminal window
Running doctor checks...
[1/4] ✅ The FlexAI binary file is part of the system's $PATH variable
[2/4] ✅ Successfully connected to the FlexAI API server
[3/4] ✅ Successfully connected to the FlexAI update server
[4/4] ❌ Not using the latest FlexAI CLI version available
Your system is not healthy

To fix this, run:

Terminal window
flexai update