Installation

Linux

Windows

Using winget

winget install Starship.Starship
winget upgrade Starship.Starship
# Add to Windows Defender's Exclusion List
Get-Command starship
Get-Command pwsh
# Add wrapper
# Create directory if not exist
New-Item `
-ItemType Directory `
-Path "$PROFILE\..\" `
-Force
 
# Append wrapper into profile
@'
Invoke-Expression (&starship init powershell)
'@ >> "$PROFILE"
# Customize appearance
# Create directory if not exist
New-Item `
-ItemType Directory `
-Path "$HOME\.config" `
-Force
 
# Use preset
starship preset pure-preset -o "$HOME\.config\starship.toml"
starship preset catppuccin-powerline -o "$HOME\.config\starship.toml"

Usage

Version

starship --version

Notes

Appendix