Skip to main content

Managing Profiles

The fal CLI allows you to manage multiple profiles, making it easy to switch between different fal accounts. This is particularly useful if you have multiple environments or projects.

Adding a New Profile

To add a new profile, set it as the default and then add the key:
Note:The key used in the example above is no longer valid. 😉

Listing Profiles

To list all available profiles, use the fal profile list command:

Setting a Default Profile

To set a default profile, use the fal profile set command followed by the profile name:
After setting the default profile, you can directly access the account information without specifying the profile name.

Deleting a Profile

To delete a profile, use the fal profile delete command followed by the profile name:

Command Reference

fal profiles is an alias for fal profile.

create

Create a new named profile and set it as the default:
If the profile already exists the command is a no-op. After creation you’ll typically run fal profile key to attach an API key.

unset

Clear the default profile selection:
After unsetting, fal falls back to environment variables (FAL_KEY, FAL_HOST).

host

Override the fal API host for the active profile. Most users don’t need this — it’s primarily useful for self-hosted or staging deployments:

list

Supports JSON output for scripting: