Ploy CLI

A reliable command surface for people, automations, and AI agents.

The Ploy CLI is a standalone command-line interface for managing workspaces, sites, content, and publishing workflows. Use it interactively, from repeatable automations, or as a structured way for agents to operate Ploy.

The installed ploy binary does not require Bun, Node.js, or npm. The installer supports macOS and Linux on arm64 and x64.


Quick start

Install the CLI, then ploy login for interactive use or set PLOY_API_TOKEN for CI and other headless environments.

Install and connect
curl -fsSL https://ploy.ai/install.sh | sh
ploy login
ploy workspace use
ploy site use
ploy site status

Interactive selectors require a terminal. For scripts and CI, pass explicit IDs with --workspace, workspace use --id, and site use --id.

Get started

Choose the workflow that matches what you want to do next:


What you can do

WorkflowStart here
Install, update, and configureInstallation and updates
Sign in and manage credentialsAuthentication and tokens
Create, inspect, and publish sitesWorkspaces, sites, and Code Sync
Manage runtime configurationVariables, Secrets, and dotenv imports
Inspect and import structured dataDatabases, tables, queries, and CSV imports
Work with content and automationsDocuments and Ploybooks
Develop locally with your agentCode Sync, skills, and design-system inspection
Run Ploy remotelyRemote agents and CI
Use the CLI from agents and automationsGlobal contract and command index

Command help

The built-in help stays aligned with the installed version:

Explore the installed CLI
ploy help
ploy help site
ploy site publish --help
ploy --version