CLI / getting started

Install the ShipDocs CLI, authenticate, and upload a local working directory for documentation.

URL: https://shipdocs.sh/docs/cli
Markdown: https://shipdocs.sh/docs/cli.md
Install script: https://shipdocs.sh/install.sh

Install

curl -fsSL shipdocs.sh | sh

The installer downloads the platform binary. Equivalent: fetch https://shipdocs.sh/install.sh and run it.

Shell clients hitting https://shipdocs.sh/ with a curl/wget user-agent also receive the install script (Cloudflare middleware).

Authenticate

shipdocs login

Opens the browser, completes OAuth / magic-link sign-in, and stores a CLI token locally. Check identity:

shipdocs whoami

Sign out:

shipdocs logout

Ship a project (index from cwd)

From the root of your repository:

shipdocs ship

Optional project name:

shipdocs ship my-api

Behavior:

  • Packs the current working directory (respects .gitignore)
  • Uploads to ShipDocs
  • Waits for the indexer to finish generating Overview + component docs

You can also import from the web app (GitHub / GitLab / ZIP) without the CLI: https://shipdocs.sh/

Other commands

CommandPurpose
shipdocsInteractive TUI with slash commands
shipdocs ship [name]Pack cwd, upload, wait for docs
shipdocs loginBrowser auth; save CLI token
shipdocs logoutDelete saved token
shipdocs whoamiShow signed-in identity and org
shipdocs listList recent projects
shipdocs updateCheck for and install the latest CLI
shipdocs helpPrint usage

Environment overrides

VariablePurpose
SHIPDOCS_APIAPI base URL (default production API)
SHIPDOCS_APPWeb app URL used for browser login
SHIPDOCS_CONFIGDirectory for saved CLI config/token

Web getting started (no CLI)

  1. Open https://shipdocs.sh/ and create an account (magic link or OAuth).
  2. Add a project — paste a repo URL or upload a ZIP.
  3. Wait for indexing; open Docs and Chat in the project UI.
  4. Optional: flip a project public and share via Showcase.