Skip to content

mx bin ls: clear PATH setup instructions (2.8.0)#11

Merged
rousan merged 1 commit into
mainfrom
develop
Jun 29, 2026
Merged

mx bin ls: clear PATH setup instructions (2.8.0)#11
rousan merged 1 commit into
mainfrom
develop

Conversation

@rousan

@rousan rousan commented Jun 29, 2026

Copy link
Copy Markdown
Owner

Makes mx bin ls end with actionable PATH guidance.

Before

  not on PATH — add: export PATH="$(mx bin path):$PATH"

After

When <runtime>/bin/ isn't on PATH:

  ⚠ ~/mx/bin is not on your PATH yet.
  To run these as commands, add this line to your shell startup file
  (~/.zshrc, ~/.bashrc, …) and restart your shell:

      export PATH="$(mx bin path):$PATH"

When it is on PATH:

  ✓ ~/mx/bin is on your PATH — these run as commands anywhere

Changes

  • apps/cli/src/commands/bin.ts — multi-line PATH instruction (human output only; porcelain unchanged).
  • Docs (commands.md, history.md); npm/package.json → 2.8.0.

CLI-only cosmetic change; 68 tests green, lint/build clean. No core or runtime-layout change.

When the runtime bin/ isn't on PATH, `mx bin ls` now ends with a
step-by-step hint — add `export PATH="$(mx bin path):$PATH"` to your
shell startup file (~/.zshrc, ~/.bashrc) and restart — instead of a
terse one-liner. Confirms with a ✓ when bin/ is already on PATH.
CLI-only cosmetic change (2.8.0).
@rousan
rousan merged commit e7a6c73 into main Jun 29, 2026
1 check passed
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant