Skip to content

feat(cli): rename the openshell command to os, keeping openshell as a deprecated shim #6199

In progress

Description

@purp

User Story

I use the OpenShell CLI throughout the day to create, connect to, and inspect sandboxes, and I already alias os to openshell in my shell. I want os to be the real command name so that every install gets the short name, docs and examples can use it, and nobody has to maintain a personal alias.

Problem Statement

The CLI command is openshell, which is long for a command typed many times a day. Users who want a shorter name set up their own aliases, which don't carry over to scripts, CI, other machines, or shared examples. Renaming the command outright would break every existing script, doc link, and muscle memory that calls openshell.

Impact / Why This Matters

Today the only option is a per-user shell alias. Aliases don't apply in non-interactive shells, aren't present in sandboxes or CI runners, and produce examples that don't work for other people. A rename without a compatibility path would break existing automation on upgrade.

Proposed Design

  • The CLI would install as os. All subcommands, flags, output, and exit codes would be unchanged.
  • openshell would remain installed as a deprecated name. Invoking it would run the same command with the same arguments, stdin/stdout, exit code, and signal handling as os, and would print a one-line notice to stderr saying the command has been renamed to os.
  • The notice could be suppressed with an environment variable, so existing scripts that check stderr keep working during the transition.
  • Only the CLI command name would change. The product name, config and state directories, OPENSHELL_* environment variables, package names, and the other binaries (openshell-gateway, openshell-prover, openshell-sandbox) would stay as they are.
  • openshell would keep working for at least one minor release; its removal would be tracked in a separate issue.

Suggested UX

$ os sandbox list
NAME      STATUS   ...

$ openshell sandbox list
warning: `openshell` has been renamed to `os`; `openshell` will be removed in a future release.
NAME      STATUS   ...

$ OPENSHELL_SUPPRESS_RENAME_WARNING=1 openshell sandbox list
NAME      STATUS   ...

Acceptance Criteria

  • Homebrew, Debian, RPM, snap, and the standalone installer provide an os command.
  • Each of those channels also provides openshell, which behaves identically to os apart from the stderr notice.
  • openshell preserves arguments, stdin/stdout, exit codes, and signal behavior.
  • The notice can be suppressed with an environment variable.
  • os completions <shell> generates completions for os; completions for openshell keep working.
  • The snap exposes os through a Snap Store alias request, with docs covering locally built snaps that lack the alias (as with openshell-prover in docs(snap): align prover guidance and canary with the approved command alias #4838).
  • The os name is confirmed not to collide with a binary already shipped in each package channel.
  • Docs, man page, examples, and public skills use os.

Alternatives Considered

  • Ship os as an additional alias and keep openshell canonical. Less churn, but docs would have to pick one name, and two equal names without a deprecation path tend to stay forever.
  • Leave it to user aliases. This is today's state; it doesn't reach scripts, CI, or sandboxes.
  • A different short name (for example osh). Less generic than os and less likely to collide, at the cost of being less memorable.

Activity

  1. added
    state:accepted
    area:platform
    topic:ux
    on Dec 3, 2026
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Metadata

Assignees

No one assigned

    Labels

    area:platformstate:acceptedtopic:ux

    Type

    No type

    Projects

    No projects

      Milestone

      No milestone

      Relationships

      None yet

      Development

      No branches or pull requests

      Issue actions