Starship Prompt Commands

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.

Setup (5)

ShortcutAction
starship init zshEnable in Zsh
starship init bashEnable in Bash
starship init fish | sourceEnable in Fish
starship preset -lList presets
starship preset nerd-font-symbols -o ~/.config/starship.tomlApply a preset

Configuration (5)

ShortcutAction
starship configEdit config
starship print-configPrint computed config
starship toggle rustToggle a module
starship module git_branchRender one module
starship completions zshShell completions

Diagnostics (4)

ShortcutAction
starship explainExplain prompt
starship timingsModule timings
starship bug-reportBug report
starship --versionVersion
📜 Source: Starship documentation — Guide and configuration. Commands from the Starship docs for the current release. Checked 2026-09-06. How we verify ›
📄 View Printable Cheat Sheet — Download as PDF or print · 🧩 Combine with other tools

Frequently Asked Questions

What are the most useful Starship Prompt commands?

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).

How many commands does Starship Prompt have?

Starship Prompt has 14 commands across 3 categories on shortcut-tools.com.

How do I use commands in Starship Prompt?

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.

What is the Starship Prompt command for enable in zsh?

The Starship Prompt command for enable in zsh is starship init zsh.

What Setup commands does Starship Prompt have?

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.

What's the fastest way to learn all Starship Prompt commands?

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.

Can I combine Starship Prompt commands with other tools?

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.

Do these Starship commands differ between shells?

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.

Related Shortcut Pages

Zsh Fish Shell Bash / Shell tmux PowerShell fzf

Search 18,500+ shortcuts across 268 platforms

Explore All Platforms Practice Shortcuts
🔧 Spotted an error or a missing shortcut? Suggest an edit on GitHub — every accepted fix goes live on this page, the API and the CLI.

Installing into a shell

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.

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.

When the prompt is slow

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.

🤖 Ask AI about Starship Prompt shortcuts

Open your assistant with this page preloaded as the source — great for follow-up questions like "which of these work in other apps?"

ChatGPT Claude Perplexity Gemini Grok