System Requirements
- Python: 3.8 or later
- Operating System: macOS, Linux, or Windows
Install the CLI
Using pip
Verify Installation
Check that the CLI installed correctly:Authentication
Option 1: Interactive Login (Recommended)
Tip:If you’re a member of multiple teams, the login process will prompt you to select which team account you want to use as your default. Choose carefully, as this affects which resources you can access and deploy to.
Option 2: API Key
Create an API key at API Keys with theADMIN scope. If creating a key for a team, make sure to select your team on the top left corner.
Set it as an environment variable:
~/.bashrc, ~/.zshrc, etc.) to persist across sessions.
Managing API Keys
When working with multiple API keys, you can use thefal profile command to save your API keys and switch between them.
Team Accounts
After authentication, you can switch between different teams or your personal account using thefal team command.
View Available Teams
To list teams that you are a member of:| Default | Team | Full Name | ID |
|---|---|---|---|
| * | myteam | My Team | github|1kbr8zjkk377xfs5tl2erl4x |
| otherteam | Other Team | github|v11vo11w2kqakm99ke00258q |
* indicates your currently active team.
Switch Teams
To switch to a different team:Verify Authentication
Test your authentication setup:Upgrading
Keep your CLI up to date:Getting Help
- CLI help:
fal --helporfal COMMAND --help - Community: Discord
- Issues: GitHub
- Documentation: Full CLI reference