BY · TORCHSTELLAR

Every module.
One workspace.
One workflow.

Create workspaces and run development, builds, and tests. Manage modules, variables, and shared credentials in One Desktop, with shared conventions for people and AI.

Start building
$curl -fsSL https://1cli.dev/install.sh | bash

Start here

Three ways to start.

Create a workspace with one create, list available templates with one templates, or describe your goal to an agent that uses One CLI.

Option one

Run one create

Start with an empty workspace. Run one create and choose a directory, then add apps, services, or shared libraries with one add.

Create a workspace

$ one create

No flags to memorize first
Choose a target directory
Use one add later for more modules
Option two

Run one templates

List the apps, services, and shared library templates bundled with your CLI, then add modules with one add.

List available templates

$ one templates

List templates in the terminal
Compare their type and purpose
Add modules with one add
Option three

Hand it to AI

Give your goal and One CLI commands to an AI coding tool. In an existing workspace, have it read README files and one.manifest.toml first.

one-line agent prompt

Please use One CLI to create a media-stack workspace, add an Expo mobile app, and start it with one dev.
Describe what you want to build
AI uses One CLI to create workspaces or add templates
Use one run to prepare dependencies and execute tasks

Common commands

From workspace setup to daily development.

Follow prompts to create workspaces and add modules, then use one run for daily tasks. Scripts and AI can use explicit arguments and JSON output.

ONE CREATE

Create a workspace
with one command.

Run one create to choose a target directory, or pass the directory explicitly. Then use one add to add modules to the empty workspace.

PROMPTED CREATERun one create by itself to choose the target directory.
ADD MODULESRun one templates to list templates, then add modules with one add.
AUTOMATIONCI and AI use --yes and -o json for predictable output and errors.
$one create
>opens the create wizard
·asks for a target directory
·writes workspace directories, AGENTS.md, and mise task configuration

ONE ADD

Keep building
after the module exists.

one add adds a module to an existing One workspace. You can run one add directly to use the picker, or pass the template name and module name in scripts.

PROMPTED ADDRun one add to choose the template and module name.
AUTOMATIONCI and AI use one add nextjs-app --name web --yes.
SYNC DEFAULTSTemplates generate module code and register local development commands.
$one add
>checks that cwd belongs to a One workspace
·opens template and module-name prompts
·writes the new directory and records it in the module list

ONE RUN

Different modules.
One way to run them.

one run lists workspace tasks and uses mise to run development, builds, and tests. Select a module with -p; One prepares tools and dependencies as needed.

DISCOVER TASKSRun one run to see available tasks and choose what to execute.
DAILY DEVELOPMENTone dev -p web starts a module; one build -p web builds it.
FOLLOW LOGSMulti-task runs offer a log tree with search, scrolling, and task selection.
$one dev -p web
>resolve module tasks and dependencies
·prepare tools, dependencies, and bound module variables
·start the dev service and show its original logs

ONE ENV

Manage variables.
Inject them when needed.

Sign in to Infisical in your browser with one login, then manage module variables with one env. New workspaces can run before you connect variable storage.

BROWSER LOGINA local credential file stores your session. Check its status with one whoami.
MODULE VARIABLESSaving the first variable initializes the binding. Organize values by environment and module folder.
SHARED CREDENTIALSConfigure shared credentials in One Desktop and inject them explicitly with one exec --global.
$one env set API_URL -p web
>sign in first with one login
·enter the value in a hidden terminal prompt
·fetch and inject variables from Infisical when the module runs

ONE DESKTOP

Manage modules
on your desktop.

Open One Desktop to browse workspaces, add modules, and manage variables and shared credentials.

MODULESInspect configuration, add modules from templates, and review Manifest changes before saving.
SHARED CREDENTIALSManage publishing and operations credentials centrally, and inject them into terminal tasks when needed.
ACCOUNTS AND VARIABLESSign in to Infisical in Settings and manage variables by environment and folder.
one-cli/desktop
↗One Desktop
>open the One Desktop app
·manage workspaces, modules, and shared credentials
·manage module variables by environment

ONE HELP

Help AI find
the right command.

Use one help --all for the complete command catalogue, then a subcommand's --help for its options. Agents can combine this with README files and one.manifest.toml to choose module operations.

FULL CATALOGUEList every command supported by the installed version.
OPTIONSCheck a subcommand's --help for arguments and usage.
JSON RESULTSUse -o json and handle failures through error.code.
View the AI skillone-cli/help
$one help --all
>find commands supported by this version
·check subcommand options
·choose operations using workspace guidance

AGENT-READY WORKSPACE

Let agents read facts before touching the module.

One CLI is not another chat surface. It organizes manifests, module configuration, and structured errors into one engineering contract so Codex, Claude Code, and Cursor can confirm module details before choosing commands, editing code, or recovering from failures.

Command help explains usage

Agents use `one help --all` and subcommand `--help` to check the commands, options, and usage supported by the installed version before acting.

one help --all

Manifest records module details

`one.manifest.toml` records workspace identity, module paths, toolchains, and the Infisical binding. Agents read those facts before choosing a module or command.

one.manifest.toml

Teams own workspace instructions

one create generates AGENTS.md in the current CLI language. Teams maintain it afterward; adding modules does not overwrite it.

AGENTS.md

Errors include next steps

Commands support JSON output, and errors include `code`, `context`, and `remediation[]`. Agents can choose a recovery action without parsing free text.

error.remediation[]

Clear errors and recovery hints

When a command fails, you do not have to guess.

When workspace creation, module setup, or task execution fails, One CLI preserves the cause and provides recovery hints for common errors. People and AI can use the same details to continue.

Create workspaces
Wrong folder or existing target: it tells you how to continue
Add modules
Template, name, or location issues come with a fix command
Run tasks
Missing config or tools are called out before you continue
Connect AI
The same result can be emitted as JSON for tools
>one add react-spa --name web --yes
No One CLI workspace found. Run this from a workspace root.
  - This folder is missing one.manifest.toml.
    Create a workspace first, or cd into an existing one:
    one create <dir>

Structured errors include a code and context. Scripts and AI can read the remediation field when recovery hints are available.

Bring your modules together. Get them running.

Start with an empty workspace, add modules as you need them, and use the same commands for daily development.