Global Options
These options work with all commands:
Use
para commands --json to print the agent-readable command catalog. It includes command paths, arguments, options, examples, interactivity, JSON support, and side effects.
Authentication
The full command paths arepara auth login, para auth logout, and para auth status. para login and para logout are top-level shortcuts.
para login
Authenticate with your Para developer account. The CLI prints a verification code, opens the Developer Portal in your browser, and waits for you to approve the login.
npm install -g @getpara/cli. The request expires after 5 minutes, and Cancel ends it.
After login, the CLI automatically selects your first organization and project if none are configured.
Sessions are stored at ~/.config/para/credentials.json. The session is validated server-side on each CLI invocation.
Sessions are shared across key environments. Logging in once gives you access to both beta and prod keys.
para logout
Sign out by revoking the CLI session on the server and clearing your stored credentials.
If the server can’t revoke the session, the CLI still clears your local credentials and tells you that the server session stays valid until it expires.
para auth status
Check whether your current session is valid. This performs a server-side validation, not just a local check.
Output
--json:
para whoami
Show the current authenticated user and active context: organization, project, and environment.
Output
Configuration
Configuration resolves from multiple sources: CLI flags, environment variables (PARA_ENVIRONMENT, PARA_ORG_ID, PARA_PROJECT_ID), .pararc, global config, then defaults. See Installation for the full resolution chain.
para config get
Read configuration values. Without a key, shows all values from both global and project config with their source.
Output
.pararc) takes precedence over global config (~/.config/para/config.json).
para config set
Set a configuration value.
Valid Keys
The same defaults use different key names in global and project configuration:Examples
Set the key environment and organization as global defaults:para config set --local accepts either global key names such as defaultEnvironment or project key names such as environment, then writes the .pararc key form.para config unset
Remove a configuration value.
para init
Create a .pararc configuration file in the current directory. This pins the organization, project, and environment for anyone working in this directory.
In interactive mode, you’ll be prompted to select a key environment (
beta or prod). With --yes, the current resolved key environment is used.
The resulting .pararc file:
Organizations
List your organizations and select the one subsequent commands should use.para orgs list
List all organizations you belong to.
Output
(active) indicator shows which organization is currently selected. With --json, returns an array of organization objects.
para orgs switch
Set the active organization. This updates your global config so subsequent commands use this org.
org-id, an interactive selector is shown:
Output
After switching organizations, your previous project ID remains in the config but may point to a project in the old org. Run
para projects switch to select a project in the new organization.Projects
All project commands require an active organization. Set one withpara orgs switch if you haven’t already.
para projects list
List projects in your active organization.
Output
para projects switch
Set the active project.
project-id, an interactive selector shows all active projects in the current organization.
para projects create
Create a new project in the active organization.
Without flags, you’ll be prompted interactively for a name.
para projects update
Update a project’s name, description, or framework.
Uses the active project if no
project-id is given. Without flags, prompts interactively.
para projects archive
Archive a project. Its API keys stop working immediately. This is reversible with restore.
project-id is given.
para projects restore
Restore a previously archived project.
para projects list --include-archived to find the ID of archived projects.
API Keys
All key commands require an active organization and project. Set them withpara orgs switch and para projects switch.
para keys list
List API keys for the active project.
Output
para keys get
Get details of an API key. Without a key ID, the CLI auto-resolves the key from your active project and key environment.
para keys create
Create a new API key in the active project.
para keys rotate
Rotate an API key. The old key stops working immediately. Without a key ID, the CLI auto-resolves the key from your active project and key environment.
Key rotation is irreversible. The old key stops working immediately after rotation.
para keys archive
Archive (revoke) an API key. The key stops working immediately. Without a key ID, the CLI auto-resolves the key from your active project and key environment.
para keys config
Configure settings for an API key. Without a sub-category, opens an interactive menu to browse all categories.
-e beta or -e prod). If multiple keys exist for the same environment, you’ll be prompted to choose one.
Show Configuration
View the current configuration for an API key without entering an edit flow. Shows all settings organized by category.Example output
Security
Configure login two-factor authentication, origins, session length, transaction popups, IP restrictions, the international phone channel, and telemetry.keys config show security also lists the key’s Custody. New users’ key shares are held in Para’s secure enclave by default; this isn’t configurable from the CLI. Legacy Auth Methods lists the passkey, password, or PIN options offered to users on older SDK versions that keep the key share on the device; (basic only) means none are offered.Branding
Configure colors, fonts, social links, and email settings.Authentication
Configure login methods, email and phone login, recovery 2FA, and guest mode.--oauth-methods replaces the whole list. A custom connection handle you leave out is disabled. To use your own Google, Apple, Discord, Facebook, or X credentials, register them with keys config oauth add and keep the provider (for example GOOGLE) in this list.Custom OIDC
Configure your own OpenID Connect provider as a login method. On production keys this requires the Scale or Enterprise plan. See Set up Custom OIDC for the full walkthrough.Enable Custom OIDC once configured with
para keys config auth --oauth-methods "...,CUSTOM_OIDC".OAuth Connections
Manage a key’s OAuth and OIDC connections: your own credentials for Google, Apple, Discord, Facebook, or X, a custom OAuth2 provider, or additional OpenID Connect (SSO) providers. Each connection has a unique handle.CUSTOM_OIDC and CUSTOM_OAUTH connections on production keys require the Scale or Enterprise plan; beta keys work on every plan. Your own credentials for a built-in provider work on every plan.oauth add flags
oauth update flags: --label, --client-id, --enabled / --no-enabled, and the provider settings above (--issuer, --scopes, --auth-method, --button-label, --button-logo-url, --authorization-url, --token-url, --user-info-url, --apple-team-id, --apple-key-id). Pass an empty string to clear a field.
Other subcommands
oauth add and oauth show print the redirect URI to register with your provider:
- Custom OIDC and custom OAuth2 connections: one redirect URI.
- Google, Apple, Discord, Facebook, and X with your own credentials: two redirect URIs. Register both.
After adding a connection, store its secret with
oauth set-secret, then enable it with keys config auth --oauth-methods. Custom OIDC and custom OAuth2 connections are enabled by handle; a connection with your own Google, Apple, Discord, Facebook, or X credentials is enabled by the provider name (for example GOOGLE).Modal
Configure modal UI behavior for an API key.External Wallets
Configure external wallet support for an API key.Links
Configure partner social and support links.App
Configure app-level settings.Setup / Networks
Configure wallet types and native passkey settings.On/Off Ramps
Configure buy, receive, and withdraw settings.Webhooks
Configure webhook endpoints, events, and signing secrets.Users
List a project’s users with login method filters and pagination.para users list
List users for the active project API key. The CLI resolves the API key from the active project and key environment unless you pass --key.
Scaffold a Project
Choose an application template, networks, authentication methods, and wallets for a new app.para create
Scaffold a new application with Para SDK pre-configured. The interactive wizard walks you through template, network, auth, and wallet selection.
Interactive Flow
Without flags,para create walks you through each step:
- App name: lowercase, numbers, and hyphens only
- Template: Next.js or Expo
- Networks: EVM, Solana, Cosmos (Expo is EVM-only)
- Auth methods: Email, Phone/SMS, OAuth
- OAuth providers: Google, Apple, Twitter, Discord, Facebook, Farcaster (Expo supports Google and Apple only)
- External wallets: Varies by network:
- EVM: MetaMask, Coinbase, WalletConnect, Rainbow, Zerion, Rabby
- Solana: Phantom, Backpack, Solflare, Glow
- Cosmos: Keplr, Leap
- Expo-specific: Bundle identifier (e.g.,
com.mycompany.myapp)
Non-Interactive Mode
Non-interactive mode activates when an app name is provided with--networks for Next.js or with -t expo --bundle-id for Expo. Email auth is enabled by default if no other auth method is specified.
API Key Connection
If you’re authenticated, the CLI offers to connect a Para project after scaffolding. This creates or selects an organization, project, and API key, then writes the key to the app’s.env file.
Package Manager Detection
The CLI detects your package manager automatically:--package-managerflag (highest priority)- How you invoked the CLI (
npx,yarn dlx,pnpm dlx,bunx) - Lock files in the current directory
- Falls back to
npm
Example
The example below shows a Next.js setup with network and authentication choices.Diagnostics
Check project configuration, dependencies, and SDK setup, then filter the results by category or severity.para doctor
Scan your project for common Para SDK integration issues. Checks configuration, dependencies, setup patterns, and best practices.
What It Checks
The checks cover environment variables, provider setup, and package compatibility:Example Output
This sample reports a missing client directive and a mismatched connector version.Filtering
Run only dependency checks:JSON Output
Use--json for CI/CD pipelines:
1 if any error-severity checks fail, making it suitable for CI gates.
Migrations
Plan a migration, apply the approved changes, or roll back from its manifest.para migrate v3
Plan or apply a Para v2 to v3 app migration. The command inspects local project files and can include API key configuration updates when you pass --key.
para migrate rollback
Roll back a Para v3 migration manifest.
Command Catalog
Inspect command arguments, flags, and requirements before an agent or script runs them.para commands
Print the CLI command catalog. Use --json for deterministic metadata that agents and scripts can inspect without scraping help text.
Updating the CLI
Choose whether to check for an available update or install it with your package manager.para update
Check for and explicitly update the Para CLI.
PARA_DISABLE_UPDATE_CHECK=1 to disable update checks and explicit update installs.
Permissions policies
Author and manage Permissions policies for an API key. The commands use your active organization, project, and key environment. When you leave out[key-id], the CLI uses the project’s only key for that environment; pass the ID when the project has more than one. See for the full workflow.
Only beta keys accept changes. create, replace, activate, deactivate, and archive stop with PERMISSIONS_BETA_KEY_REQUIRED for any other key, including with --environment prod. state, catalog, and validate work on any key.
replace, activate, and deactivate also check whether the change would invalidate open approval cases. In a terminal, the CLI asks before it applies such a change. With --yes, the command makes no change and exits with code 10 unless you also pass --force. With --json, the error also has errorCode PERMISSIONS_V2_APPROVAL_CASES_AFFECTED and the case IDs in details.affectedCaseIds. See .
para keys permissions state
Read every policy record on a key, with the key’s Permissions status.
--json, the output shows the state name, whether Permissions is enabled, and the number of active and draft policies. --json returns the full state, including every record and its recordId.
para keys permissions catalog
Read the policy language the key accepts: condition kinds, effects, selector scopes, facts, and the operators each fact allows.
--json, the output shows only the catalog versions and the number of facts.
para keys permissions validate
Validate a Guardrail or Request policy against the key without saving it.
An invalid policy exits with code
10. Without --json, the output lists each error with its JSON path, or, for a valid policy, warns about each overlapping active policy of the same kind.
para keys permissions create
Validate a policy and save it as a draft. A draft does not affect signing until you activate it.
para keys permissions replace
Replace an active or draft policy with its next version. Replacing an active policy takes effect immediately and supersedes the old record; replacing a draft saves a new draft and archives the old one.
The file must keep the policy’s
id, selector, and metadata.productMode, and set version to the next integer.
para keys permissions activate
Activate a draft policy while its time window is open. Activation turns on Permissions for the key and supersedes any active version with the same policy id. Before the window starts, the command exits with code 10 and reports policy_record_activation_window_inactive.
para keys permissions deactivate
Stop enforcing an active policy. The record becomes inactive and cannot be activated again.
para keys permissions archive
Archive a draft, inactive, or superseded record. Deactivate an active record first.
para keys permissions
Without a subcommand, the command shows the key’s legacy policy status (On or Off) and legacy policy JSON. It does not report Permissions policies, and it shows Off after any Permissions policy has been activated on the key. Use para keys permissions state instead.