Skip to content

nyx_project_add

Create a new project. is auto-prefixed with “nyx-” if you don’t add it yourself, so “foo” and “nyx-foo” both create the project nyx-foo. The label defaults to the unprefixed id and shows up in the console UI.

Project IDs follow DNS label rules: lowercase letters, digits and hyphens (no leading or trailing hyphen, max 63 characters total). Provisioning runs asynchronously. By default the CLI polls until the project is ready (timeout 60s); use —no-wait or —json to return as soon as the request is accepted.

Standard flow:

nyx project add widget —label “Widget API” nyx project add widget —json —no-wait # for agents — returns next-hint to poll

ArgumentRequired
idyes
FlagTypeDefaultDescription
--contextstringOverride the active context for this invocation (also: NYX_CONTEXT env var)
--jsonboolfalseEmit one JSON envelope per invocation (stdout for success, stderr for errors)
--labelstringDisplay label (defaults to the project ID without the nyx- prefix)
--no-waitboolfalseReturn immediately instead of polling until the project is ready

Generated from tree.json @ fallbac.