Skip to content

docs(cli): overview and quickstart - #398

Open
hongyi-chen wants to merge 4 commits into
hyc/launch-clifrom
hyc/launch-cli-cli-overview
Open

docs(cli): overview and quickstart#398
hongyi-chen wants to merge 4 commits into
hyc/launch-clifrom
hyc/launch-cli-cli-overview

Conversation

@hongyi-chen

Copy link
Copy Markdown
Collaborator

Pages changed

  • src/content/docs/cli/index.mdx — Warp CLI overview
  • src/content/docs/cli/quickstart.mdx — Warp CLI quickstart

Features covered

  • What the Warp CLI is (with "Warp Agent CLI" mentioned once as the alternate name); relationship to the Warp app and Oz, with a cross-link to /platform/harnesses/warp-agent/
  • Key features list linking out to the other cli/ pages
  • Supported platforms: macOS (Apple Silicon and Intel) and Linux (x64 and Arm64), confirmed via the release pipeline on master
  • Login: device authorization flow (verification link + code, auto-opens browser, unlocks without restart); --api-key / WARP_API_KEY for non-interactive auth (linked to /reference/cli/api-keys/); /logout behavior (returns to login screen and opens web sign-out)
  • Start screen (zero state): version + update status, "What's new" list, project rules/skills, MCP status
  • Automatic updates: background check, staged install, applied on next launch, "update installed, restart to apply" notice, opt-out via general.autoupdate_enabled
  • Bundled migration skill for users coming from the Warp app (settings + global MCP config migration; credentials never copied; rules/skills shared automatically; Drive syncs after login)
  • Open source section (plans only, no dates or license commitments)
  • Quickstart flow: install → login → first prompt (with permission requests) → shell command (! shell mode, Backspace to exit) → exit (Ctrl+C twice or /exit) and resume (warp --resume)

Dropped/unconfirmed

  • Install commands/channels: no official install instructions confirmable from the repo (install script lives server-side; distribution channels are an open question in the launch plan). The quickstart install section uses the one allowed placeholder {/* PENDING: install instructions from eng */} plus a warp --version verification step.
  • Windows support: dropped; no Windows TUI release/bundling job exists in the release pipeline on master (macOS and Linux jobs exist).
  • Autoupdate opt-out environment variable: intentionally omitted from the overview; its current name is TUI-derived and may be renamed with the binary. The settings-file opt-out is documented instead; reference/troubleshooting pages can pick it up once the name is final.

Suggested reviewer(s): Kevin

Co-Authored-By: Oz oz-agent@warp.dev

Fill in cli/index.mdx (what the CLI is, key features, relationship to the
Warp app and Oz, supported platforms, login/logout, automatic updates,
migration from the Warp app, open source) and cli/quickstart.mdx
(install placeholder, device-auth login, first prompt, shell command,
exit and resume).

Co-Authored-By: Oz <oz-agent@warp.dev>
@cla-bot cla-bot Bot added the cla-signed label Jul 28, 2026
@vercel

vercel Bot commented Jul 28, 2026

Copy link
Copy Markdown

The latest updates on your projects. Learn more about Vercel for GitHub.

Project Deployment Actions Updated (UTC)
docs Ready Ready Preview, Comment Jul 28, 2026 10:09pm

Request Review

@oz-for-oss

oz-for-oss Bot commented Jul 28, 2026

Copy link
Copy Markdown
Contributor

@hongyi-chen

I'm starting a first review of this pull request.

You can view the conversation on Warp.

I completed the review and no human review was requested for this pull request.

Comment /oz-review on this pull request to retrigger a review (up to 3 times on the same pull request).

Powered by Oz

@oz-for-oss oz-for-oss Bot left a comment

Copy link
Copy Markdown
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Overview

This PR replaces placeholder CLI overview and quickstart content with launch-oriented documentation for the Warp CLI. The pages cover the intended concepts, but the quickstart is not yet runnable because the install step is hidden, there are broken Reference links, and the API-key guidance should avoid recommending command-line secret exposure.

Concerns

  • The quickstart's install section renders without actual installation instructions, so readers cannot complete the first required step.
  • Both Next steps sections link to /cli/reference/, but the CLI reference content lives under /reference/cli/.

Security

  • The quickstart recommends warp --api-key YOUR_API_KEY; for CI or remote servers, prefer WARP_API_KEY so the secret is not written into shell history or exposed via process listings.

Verdict

Found: 2 critical, 2 important, 0 suggestions

Request changes

Comment /oz-review on this pull request to retrigger a review (up to 3 times on the same pull request).

Powered by Oz

## Install the {VARS.WARP_CLI}

{/* TODO(cli-overview): install command(s) — confirm distribution channels with eng before merge. */}
{/* PENDING: install instructions from eng */}

Copy link
Copy Markdown
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

⚠️ [IMPORTANT] This MDX comment is hidden in the rendered page, so the Install section has no install instructions and readers cannot complete the quickstart. Add the confirmed install commands before publishing, or keep this page out of navigation until they are available.

When login completes, the CLI shows its start screen: the version, a short "What's new" list, and the rules, skills, and MCP servers it discovered for your current directory.

:::note
On machines without a browser, such as CI or remote servers, authenticate with a Warp API key instead: run `warp --api-key YOUR_API_KEY` or set the `WARP_API_KEY` environment variable. See [API keys](/reference/cli/api-keys/) for how to create one.

Copy link
Copy Markdown
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

⚠️ [IMPORTANT] [SECURITY] Passing API keys on the command line can expose them through shell history or process listings; make WARP_API_KEY the primary non-interactive recommendation and mention --api-key only for controlled local use.

Suggested change
On machines without a browser, such as CI or remote servers, authenticate with a Warp API key instead: run `warp --api-key YOUR_API_KEY` or set the `WARP_API_KEY` environment variable. See [API keys](/reference/cli/api-keys/) for how to create one.
On machines without a browser, such as CI or remote servers, authenticate with a Warp API key instead. Prefer setting the `WARP_API_KEY` environment variable for non-interactive environments so the key does not appear in shell history or process listings; use `warp --api-key YOUR_API_KEY` only when that exposure is acceptable. See [API keys](/reference/cli/api-keys/) for how to create one.

* [Agent conversations](/cli/agent-conversations/) - Learn how the transcript, diffs, and approvals work.
* [Shell commands](/cli/shell-commands/) - Run shell commands alongside agent prompts.
* [Configuration](/cli/configuration/) - Customize the CLI with the settings file.
* [Reference](/cli/reference/) - Flags, slash commands, and keyboard shortcuts.

Copy link
Copy Markdown
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

🚨 [CRITICAL] This link points to /cli/reference/, but the CLI reference pages are under /reference/cli/; the current URL will 404.

Suggested change
* [Reference](/cli/reference/) - Flags, slash commands, and keyboard shortcuts.
* [Reference](/reference/cli/) - Flags, slash commands, and keyboard shortcuts.

* [Agent conversations](/cli/agent-conversations/) - Work with the transcript, code diffs, plans, and tasks.
* [Context](/cli/context/) - Give the agent rules, skills, and MCP servers.
* [Configuration](/cli/configuration/) - Set your theme, statusline, and keybindings.
* [Reference](/cli/reference/) - All flags, slash commands, and keyboard shortcuts.

Copy link
Copy Markdown
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

🚨 [CRITICAL] This link points to /cli/reference/, but the CLI reference pages are under /reference/cli/; the current URL will 404.

Suggested change
* [Reference](/cli/reference/) - All flags, slash commands, and keyboard shortcuts.
* [Reference](/reference/cli/) - All flags, slash commands, and keyboard shortcuts.

Frontmatter {{WARP_CLI}} tokens are not substituted by the build
pipeline, so built titles showed the raw token. Body prose keeps
{VARS.WARP_CLI}.

Co-Authored-By: Oz <oz-agent@warp.dev>
hongyi-chen and others added 2 commits July 28, 2026 15:03
Update literal frontmatter titles/descriptions for the confirmed launch
name and rework the overview intro now that Warp Agent CLI is the
primary name (positioning: the Warp Agent from the Warp app, in any
terminal). Body {VARS.WARP_CLI} usages pick up the new name from the
merged var change.

Co-Authored-By: Oz <oz-agent@warp.dev>
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant