# Global flags (/docs/cli/global-flags)

> For the complete Prisma documentation index, see [llms.txt](https://www.prisma.io/docs/llms.txt). A markdown version of any docs page is available by appending `.md` to its URL.

Flags accepted by every command in the unified Prisma CLI.

Location: CLI > Global flags

All commands in the unified Prisma CLI accept these flags.

| Flag                                 | What it does                                                                               |
| ------------------------------------ | ------------------------------------------------------------------------------------------ |
| `--json`                             | Print machine-readable output (shorthand for `--format json`). Use this in CI and scripts. |
| `--format <mode>`                    | Output format, `human` or `json`.                                                          |
| `--log-level <level>`                | Commentary verbosity: `error`, `warn`, `info`, or `verbose`.                               |
| `-q`, `--quiet`                      | Suppress nonessential output (shorthand for `--log-level error`).                          |
| `-v`, `--verbose`                    | Print more detail (shorthand for `--log-level verbose`).                                   |
| `--color` / `--no-color`             | Force colored output on or off.                                                            |
| `--interactive` / `--no-interactive` | Force prompts on or off.                                                                   |
| `-y`, `--yes`                        | Accept prompt defaults without asking.                                                     |
| `--confirm <token>`                  | Grant a consent prompt non-interactively by typing its token (repeatable).                 |
| `--config <path>`                    | Read this config file instead of `./prisma.config.ts`.                                     |
| `-h`, `--help`                       | Print help for a command.                                                                  |
| `--version`                          | Print the CLI version and exit.                                                            |

Use `npx prisma@latest <command> --help` when you need the exact command help from the installed version.

The output modes and the JSON envelope these flags select are documented on [Configuration](https://www.prisma.io/docs/cli/configuration#output-modes).

## Related pages

- [`auth`](https://www.prisma.io/docs/cli/auth): Sign in to your Prisma account from the CLI, sign out, and manage workspace sessions.
- [`branch`](https://www.prisma.io/docs/cli/branch): List platform branches for a project.
- [`bucket`](https://www.prisma.io/docs/cli/bucket): Create and manage object-store buckets.
- [`Configuration`](https://www.prisma.io/docs/cli/configuration): Configure Prisma 8 CLI commands with prisma.config.ts and global flags.
- [`contract emit`](https://www.prisma.io/docs/cli/contract-emit): Emit Prisma 8 contract artifacts.