L'invite minimaliste, ultra-rapide et personnalisable à l'infini pour n'importe quel shell !
Compatibilité avant tout
Fonctionne sur tous les principaux shells et système d'exploitation. Utilisez-le partout !
Propulsé par Rust
Profiter de toute la rapidité et la sécurité de Rust pour rendre votre invite de commandes le plus rapide et fiable possible.
Personnalisable
Tous les petits détails sont personnalisable à votre goût, pour rendre votre invite de commandes aussi léger ou complet que le vous souhaitez.
# Installation
Installer le binaire starship :
# Installer la dernière version
Avec Shell:
curl -fsSL https://starship.rs/install.sh | bash
# Installer via le gestionnaire de paquets
Avec Homebrew (opens new window):
brew install starship
Avec Scoop (opens new window):
scoop install starship
Ajouter le script d’initialisation au fichier configuration de votre shell:
# Bash
Ajouter ce qui suit à la fin de
~/.bashrc
:# ~/.bashrc eval "$(starship init bash)"
# Fish
Ajoute ce qui suit à la fin de
~/.config/fish/config.fish
:# ~/.config/fish/config.fish starship init fish | source
# Zsh
Ajouter ce qui suit à la fin de
~/.zshrc
:# ~/.zshrc eval "$(starship init zsh)"
# Powershell
Ajoutez ce qui suit à la fin de
Microsoft.PowerShell_profile.ps1
. Vous pouvez vérifier l'emplacement de ce fichier en regardant la variable$PROFILE
dans PowerShell. Typically the path is~\Documents\PowerShell\Microsoft.PowerShell_profile.ps1
or~/.config/powershell/Microsoft.PowerShell_profile.ps1
on -Nix.Invoke-Expression (&starship init powershell)
# Ion
Ajouter ce qui suit à la fin de
~/.config/ion/initrc
:# ~/.config/ion/initrc eval $(starship init ion)
# Elvish
Only elvish v0.15 or higher is supported. :::
Add the following to the end of
~/.elvish/rc.elv
:# ~/.elvish/rc.elv eval (starship init elvish)
# Tcsh
Add the following to the end of
~/.tcshrc
:# ~/.tcshrc eval `starship init tcsh`