Skip to content

Sort CLI

sortdo is Sort’s command line. It works in your workspace as you, with your permissions, the same way Sort AI and AI apps do. It is made for two kinds of users:

  • People in a terminal. Find a page, read it as Markdown, publish release notes from a file.
  • Coding agents such as Claude Code, Codex and Cursor. One command per call, plain text back, so an agent uses fewer tokens than with an MCP server.
Terminal window
curl -fsSL https://sort.do/install | bash
sortdo login
sortdo search onboarding guide

Windows: irm https://sort.do/install.ps1 | iex. Other ways to install: Install and update.

Every tool on the Sort server is a command. The server sends the list, so new tools appear without a new sortdo release.

Terminal window
sortdo search release notes # titles and URLs
sortdo read <page id or URL> # a page as Markdown, lines numbered
sortdo pages create --title "Release notes 1.4" --file notes.md --team <team id> --publish
sortdo pages edit <page> --replace "old text" --with "new text"
sortdo teams list
sortdo comments add --page-id <id> --text "Looks good"
sortdo notifications list --json

sortdo --help lists the commands, and sortdo <command> --help shows the actions and options. The full list is in the command reference.

  • sortdo signs in through your browser. You allow it on a Sort page that shows the same code as your terminal. See Sign in.
  • Your sign-in is in your computer’s keychain.
  • Actions that cannot be undone, reach other people or give access wait for your approval in Sort, the same as for AI apps. See Permissions and approvals.
  • The source and every release are public at github.com/sortdo/cli.

Both give the same tools and permissions. Use the CLI when you or your agent can run shell commands: Claude Code, Codex, Cursor’s agent, CI jobs and scripts. Use the MCP server for chat apps without a shell, such as Claude and ChatGPT.