Complete Starship Prompt commands reference β 14 commands across 3 categories. Quick reference cheat sheet for Windows & Mac.
Starship is a minimal, fast, cross-shell prompt written in Rust. It is configured entirely from the command line and a single TOML file, so these commands are the fastest way to set it up, customize it, and debug a slow prompt.
This page covers all 14 Starship Prompt commands across 3 categories: Setup (5), Configuration (5), Diagnostics (4). Each command includes a description to help you understand when and how to use it effectively.
| 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 |
Starship Prompt's 14 commands on this page are organized into 3 categories: Setup (5), Configuration (5), Diagnostics (4). Setup is the largest group with 5 commands β a good place to focus first if you're building muscle memory from scratch.
Unlike many tools we cover, Starship Prompt's key combinations here don't heavily overlap with other platforms in our database β worth learning on their own terms rather than by analogy.
New to Starship Prompt? Start with Setup above β it's usually where the commands you'll reach for constantly live. Once those feel automatic, work through Diagnostics to round out your workflow.
Want this on paper? The printable cheat sheet turns these 14 commands into a one-page PDF you can pin above your desk.
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). These cover the most frequent actions and can significantly speed up your workflow.
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.
Start with the essentials: Learn starship init zsh (Enable in Zsh) and starship init bash (Enable in Bash) first β these are the most commonly used.
Practice daily: Pick 2β3 new commands each day and consciously use them instead of the mouse. Within a week, they become muscle memory.
Print this cheat sheet: Keep a reference nearby until commands become automatic. Focus on the Setup category first.
CLI tip: Create shell aliases for the commands you use most. Combine them with these shortcuts for maximum efficiency.