Kompatibel
Läuft mit den beliebtesten Shells auf den beliebtesten Betriebssystemen. Überall einsetzbar!
Der minimalistische, super schnelle und unendlich anpassbare Prompt für jede Shell!
Installiere die Binärversion von starship:
Mit Shell:
curl -sS https://starship.rs/install.sh | shFühre das Skript oben erneut aus, um Starship selbst zu aktualisieren. Die vorhandene Version wird ersetzt, ohne dass deine Starship-Konfiguration verloren geht.
Mit Homebrew:
brew install starshipMit Winget:
winget install starshipFüge das init-Skript zur Konfigurationsdatei deiner Shell hinzu:
Füge dies ans Ende von ~/.bashrc:
# ~/.bashrc
eval "$(starship init bash)"Trage folgendes am Ende der ~/.config/fish/config.fish ein:
# ~/.config/fish/config.fish
starship init fish | sourceTrage folgendes am Ende der ~/.zshrc ein:
# ~/.zshrc
eval "$(starship init zsh)"Füge das Folgende ans Ende von Microsoft.PowerShell_profile.ps1 an. Du kannst den Speicherort dieser Datei überprüfen, indem du die $PROFILE Variable in PowerShell abfragst. Normalerweise ist der Pfad ~\Documents\PowerShell\Microsoft.PowerShell_profile.ps1 oder ~/.config/powershell/Microsoft.PowerShell_profile.ps1 auf -Nix.
Invoke-Expression (&starship init powershell)Trage folgendes am Ende der ~/.config/ion/initrc ein:
# ~/.config/ion/initrc
eval $(starship init ion)Only elvish v0.18 or higher is supported.
Add the following to the end of ~/.config/elvish/rc.elv (%AppData%\elvish\rc.elv on Windows):
# ~/.elvish/rc.elv
eval (starship init elvish)For elvish versions prior to v0.21.0 the config file might instead be ~/.elvish/rc.elv
Trage folgendes am Ende von ~/.bashrc ein:
# ~/.tcshrc
eval `starship init tcsh`This will change in the future. Nur Nushell v0.96+ wird unterstützt.
Add the following to the end of your Nushell configuration (find it by running $nu.config-path in Nushell):
mkdir ($nu.data-dir | path join "vendor/autoload")
starship init nu | save -f ($nu.data-dir | path join "vendor/autoload/starship.nu")Füge folgendes an das Ende von ~/.xonshrc hinzu:
# ~/.xonshrc
execx($(starship init xonsh))Du musst Clink (v1.2.30+) mit Cmd verwenden. Trage folgendes in eine neue Datei namens starship.lua hinzu und lege diese Datei im Clink Scripts Verzeichnis ab:
-- starship.lua
load(io.popen('starship init cmd'):read("*a"))()