English
CLI Reference
Install & Configure

CLI Installation & Configuration

PuppyOne CLI (puppyone) is a command-line tool that gives you direct access to the full PuppyOne platform from your terminal: file management, data-source sync, agent chat, MCP endpoints, local folder sync, and more.


Install

Install it globally with npm:

npm install -g puppyone

After installation, verify the version:

puppyone -V

First-time setup

After installing, complete three setup steps: log in, choose an organization, and choose a project.

# 1. Log in
puppyone auth login -e [email protected] -p password
 
# 2. Select an organization
puppyone org use "My Organization"
 
# 3. Select a project
puppyone project use "My Project"

Once finished, the CLI stores the current state in its config file, and later commands automatically use the selected organization and project.

You can also run puppyone init to do interactive project setup in one step.


Global options

All commands support these global options:

OptionDescription
-V, --versionShow the version number
-u, --api-url <url>Specify the API URL and override the config file
-k, --api-key <key>Specify an API key or token and override the config file
--jsonOutput JSON, useful for scripts and AI agents
-v, --verboseShow verbose output
-p, --project <id>Specify a project ID and override the active project
-o, --org <id>Specify an organization ID and override the active organization

Example: temporarily run a command against a different project without changing global config:

puppyone fs ls -p proj_abc123

JSON output

Every command supports --json, which returns machine-readable JSON for integration with scripts, tooling, and AI agents:

puppyone fs ls --json
puppyone conn ls --json
puppyone access ps --json

Config file

CLI configuration is stored in ~/.puppyone/config.json, including the API URL, login credentials, and the active organization and project.

Config commands

# Show current config
puppyone config show
 
# Set a config value
puppyone config set api_url https://api.puppyone.ai
 
# Show config file path
puppyone config path
 
# Reset config
puppyone config reset

Command groups

PuppyOne CLI is organized into these command groups:

CommandAliasDescription
puppyone authLog in, log out, and inspect the current user
puppyone orgOrganization management
puppyone projectpProject management
puppyone fsCloud file system, POSIX-style
puppyone connconnectionUnified connection management for data sources, agents, MCP, sandboxes, and folders
puppyone accessopenclaw, ocTwo-way local folder sync
puppyone syncData source sync
puppyone ingestFile and URL ingestion
puppyone tabletStructured data table operations
puppyone toolTool management
puppyone agentAgent management and chat
puppyone mcpMCP endpoint management
puppyone sandboxsbxSandbox management and execution
puppyone publishPublic publishing
puppyone dbDatabase connector
puppyone configCLI configuration management
puppyone initProject initialization
puppyone psShow running daemons
puppyone statusProject dashboard

Common workflows

Browse project data

puppyone fs ls              # List the root directory
puppyone fs tree            # Show a tree view
puppyone fs cat /docs/readme # Read file content

Add a data source and sync it

puppyone conn add notion https://notion.so/page-id --folder /notion-data
puppyone conn ls

Create an agent and chat

puppyone conn add agent "My Bot" --model gpt-4o
puppyone agent chat

Mount a local folder

puppyone access up ~/workspace --key cli_xxx
puppyone access ps

Get help

Append --help to any command to see usage details:

puppyone --help
puppyone fs --help
puppyone fs ls --help