> ## Documentation Index
> Fetch the complete documentation index at: https://noorle.com/docs/llms.txt
> Use this file to discover all available pages before exploring further.

# CLI Commands

> Full noorle CLI command reference for plugin, agent, gateway, env, api-key, and token operations with flags and example invocations

Complete reference for all Noorle CLI commands.

## Authentication

```bash theme={null}
noorle login [--api-key KEY]
  Authenticate with Noorle. Opens browser for device flow.

noorle logout
  Clear stored credentials.

noorle token show
  Display current token.
```

## Plugin Commands

```bash theme={null}
noorle plugin new NAME [--lang rust|python|ts|go]
  Create new plugin project.

noorle plugin build
  Compile plugin to WASM and create .npack.

noorle plugin push [--api-key KEY]
  Upload plugin to Noorle.

noorle plugin list
  List all plugins in account.

noorle plugin info NAME
  Show plugin details and versions.

noorle plugin versions NAME
  List all versions of a plugin.

noorle plugin activate NAME --version V
  Set active version.

noorle plugin delete NAME [--version V]
  Delete plugin or specific version.

noorle env set KEY=VALUE
  Set environment variable for plugin.

noorle env list
  List environment variables.
```

## Agent Commands

```bash theme={null}
noorle agent list
  List all agents.

noorle agent create NAME
  Create new agent.

noorle agent update NAME [--plugin PLUGIN] [--model MODEL]
  Update agent configuration.

noorle agent delete NAME
  Delete agent.

noorle agent info NAME
  Show agent details.
```

## Gateway Commands

```bash theme={null}
noorle gateway list
  List MCP gateways.

noorle gateway info ID
  Show gateway details.

noorle gateway create
  Create new MCP gateway.
```

## API Commands

```bash theme={null}
noorle api-call METHOD PATH [--data JSON]
  Make direct REST API call.

noorle api-key generate
  Generate new API key.

noorle api-key list
  List all API keys.

noorle api-key revoke KEY
  Revoke API key.
```

## Configuration

```bash theme={null}
noorle config get [KEY]
  Get configuration value.

noorle config set KEY VALUE
  Set configuration value.

noorle config show
  Show all configuration.
```

## Utilities

```bash theme={null}
noorle --version
  Show CLI version.

noorle --help
  Show help message.

noorle --json
  Output as JSON.

noorle --verbose
  Verbose logging.
```

## Examples

```bash theme={null}
# Create and upload plugin
noorle plugin new my-tool --lang rust
cd my-tool
noorle plugin build
noorle plugin push

# Create agent with plugin
noorle agent create my-agent
noorle agent update my-agent --plugin my-tool

# List capabilities
noorle api-call GET /v1/capabilities
```
