Starship.toml Guide

To configure the prompt, you need to create or edit the starship.toml file, which is typically located at ~/.config/starship.toml . Basic Configuration Structure

Below is a basic configuration you can paste into your starship.toml file to get started:

: Use the global format variable to define which modules appear and in what order. starship.toml

: If you want to use special characters like $ , [ , or ] , you must escape them (e.g., \$ ) to prevent Starship from interpreting them as variables. Example Configuration

: After saving the file, open a new terminal window or tab to see the updated look immediately. To configure the prompt, you need to create

: Most "pro" configurations use special icons. You must install a Nerd Font and set it as your terminal's font for these symbols to display correctly.

The starship.toml file uses TOML syntax to define the order and style of information in your terminal prompt. Example Configuration : After saving the file, open

: Each prompt element (like directory , git_branch , or character ) has its own section for detailed styling.