mooncake tool env¶
Print shell export lines to put installed tool bins on PATH
Description¶
Emit shell-specific 'export PATH=...' (or 'set -x PATH ...' for fish) lines for each URL-backed tool in the lockfile. Mise-backed tools emit a comment hint pointing at 'eval "$(mise activate)"' rather than a PATH line — mise owns its own activation.
This is a string generator, not a shell runtime. Pipe into eval or source from your shell rc.
Example: eval "$(mooncake tool env --shell zsh)"
Flags¶
| Flag | Type | Default | Description |
|---|---|---|---|
--shell |
string | zsh |
Target shell: zsh |