Skip to main content

NexSpace CLI

The NexSpace CLI lets you manage workforce operations from the terminal — search staff, fill shifts, manage API keys, and interact with MCP tools.

Features

  • 14 commands across 6 topics
  • JSON output mode (--json) for scripting
  • OAuth device-code login (no browser copy-paste)
  • API key authentication for CI/CD
  • Shell completions (bash, zsh, fish)

Quick Start

# Install
npm install -g @nexspace/cli

# Login (opens browser for device-code OAuth)
nexspace login-device

# List facilities
nexspace facilities list

# Search for staff
nexspace staff search --query "Jane" --specialty RN

# Fill a shift
nexspace shifts fill --shift-id 456 --staff-id 789

Installation

npm, Homebrew, or curl installer.

Authentication

API key or OAuth device-code flow.

Commands

Full command reference.