Complete Starship Prompt commands reference — 14 commands across 3 categories. Quick reference cheat sheet for Windows & Mac.
Starship is a prompt that works in any shell, and its command line has three jobs: hook it into the shell, edit or inspect its configuration, and explain why the prompt is slow. The table lists the commands for each. The notes cover the init line, which is the only thing most people ever type, and the diagnostics that save a slow prompt.
| Shortcut | Action |
|---|---|
| starship init zsh | Enable in Zsh |
| starship init bash | Enable in Bash |
| starship init fish | source | Enable in Fish |
| starship preset -l | List presets |
| starship preset nerd-font-symbols -o ~/.config/starship.toml | Apply a preset |
| Shortcut | Action |
|---|---|
| starship config | Edit config |
| starship print-config | Print computed config |
| starship toggle rust | Toggle a module |
| starship module git_branch | Render one module |
| starship completions zsh | Shell completions |
| Shortcut | Action |
|---|---|
| starship explain | Explain prompt |
| starship timings | Module timings |
| starship bug-report | Bug report |
| starship --version | Version |
The most essential Starship Prompt commands are: starship init zsh (Enable in Zsh), starship init bash (Enable in Bash), starship init fish | source (Enable in Fish).
Starship Prompt has 14 commands across 3 categories on shortcut-tools.com.
Run these commands in any terminal after installing Starship Prompt. The init line goes in your shell's startup file; everything else works directly from the prompt.
The Starship Prompt command for enable in zsh is starship init zsh.
Starship Prompt includes 5 Setup commands, including starship init zsh (Enable in Zsh) and starship init bash (Enable in Bash). See the full list in the Setup section above.
Print the Starship Prompt cheat sheet and keep it next to your keyboard for the first week, then switch to active recall: cover the answer column and quiz yourself until each one is automatic.
Yes — use My Stack to combine Starship Prompt commands with any other platform on this site into one printable reference, which is useful if your daily workflow spans several tools.
The starship CLI itself is identical everywhere — only the init line differs per shell (zsh, bash, fish, PowerShell…). Everything else, from presets to timings, works the same on Windows, macOS, and Linux.
starship init zsh, starship init bash and starship init fish | source print (or, for fish, source) the shell code that replaces the prompt; the usual form in an rc file is eval "$(starship init zsh)" as the last line, so nothing later overrides it. starship completions zsh prints tab-completion definitions for the starship command itself. Nerd Font symbols need a patched font in the terminal; starship preset -l lists presets and starship preset nerd-font-symbols -o ~/.config/starship.toml writes one as a starting configuration.
starship config opens the TOML file in your editor and starship print-config prints the effective configuration with defaults filled in, which is the way to discover a module's options. starship toggle rust disables or enables a module without editing the file, and starship module git_branch renders one module on its own — useful for checking colours and formats while editing.
starship explain prints each module currently shown with what it contributes, and starship timings reports how long every module took; a git module on a huge repository or a language module scanning a slow filesystem shows up immediately, and can be disabled or given a timeout. starship bug-report gathers versions and config for an issue, and starship --version prints the version.
Open your assistant with this page preloaded as the source — great for follow-up questions like "which of these work in other apps?"