# Flags and environment

> Where to find every command, flag and environment variable for nk, nokkud and the core.

Nokku changes quickly, so the full lists of flags and settings live next to the code, where they are updated together with it. Every tool also prints its own help.

| Tool                 | Reference                                                                  | Built-in help                      |
| -------------------- | -------------------------------------------------------------------------- | ---------------------------------- |
| `nk`, the CLI        | [README](https://github.com/nokku-sh/nokku/tree/main/cli#commands)         | `nk --help`, `nk <command> --help` |
| `nokkud`, the daemon | [README](https://github.com/nokku-sh/nokku/tree/main/daemon#configuration) | `nokkud --help`                    |
| `nokku`, the core    | [README](https://github.com/nokku-sh/nokku/tree/main/core#configuration)   | `nokku --help`                     |

The global flags of `nk` and `nokkud` also have an environment variable, prefixed `NK_` and `NOKKUD_`. For example `--api` is `NK_API_URL` and `NOKKUD_API_URL`.

The HTTP and gRPC API is documented in the [API reference](/api).
