privy apps create
Create a new application in an account.
privy apps create [options]Options
Section titled “Options”| Option | Description |
|---|---|
--dry-run |
Validate and print the API request without network access or credentials. |
--yes |
Confirm this mutation or export. |
--secret-store <destination> |
App API secret destination: env, keychain, both or none; required non-interactively. |
--env-output <path> |
Server env file for env/both; preserve other variables; write with mode 0600. |
--env-key <name> |
Server-only env variable (default PRIVY_APP_SECRET). |
--overwrite-env |
Explicitly allow replacing the target variable in an existing env file. |
--body <json> |
JSON body, or - to read stdin. |
--file <path> |
JSON body file, or - to read stdin. |
--name <string> |
Application display name. |
Global options such as --app, --account and --profile also apply. See the command reference overview.
Examples
Section titled “Examples”privy apps create --account <account-id> --name demo --secret-store env --env-output .env.local --dry-runprivy apps create --account <account-id> --name demo --secret-store env --env-output .env.local --yesBehavior
Section titled “Behavior”- Changes data: yes. Preview with
--dry-run, then run with--yesand any required confirmations. - Scope: account
Related guides
Section titled “Related guides”Inspect the full contract locally with privy schema apps create.
Privy CLI is an unofficial, community project by Samarth Saxena. Not affiliated with or endorsed by Privy. The Privy name and wordmark belong to Privy. It uses undocumented dashboard APIs that can change.