Skip to main content
nowrun init is the first command your agent runs after installing the CLI. It authenticates with your nowrun account using your token and sets up the skill and MCP server that give your agent a complete, structured interface to all nowrun commands.

Usage

Flags

-t
string
required
Your nowrun authentication token. Found in your nowrun dashboard at nowrun.io. This token is used to verify your identity and authorize all subsequent CLI commands.

What it does

Running nowrun init performs the following steps in order:
  1. Validates your token with nowrun.
  2. Saves credentials locally so future commands are authenticated automatically.
  3. Installs the nowrun skill, which teaches your AI agent all available CLI commands and their options.
  4. Installs the nowrun MCP server, which gives your agent a structured interface to the CLI for reliable command execution and output handling.

Where to find your token

Log in at nowrun.io and copy your token from the dashboard. Your agent will use this token when running nowrun init.
Keep your token private. Do not commit it to source control or share it publicly.

Re-authenticating

You can run nowrun init -t <token> again at any time to re-authenticate — for example, after a fresh install, when setting up a new machine, or if your credentials need to be refreshed. Re-running the command overwrites any previously stored credentials.