Have fixed a minor typo in the FAQs to use the `--help` flag rather than the `--version` flag.
home, heroImage, actionText, actionLink, footer
| home | heroImage | actionText | actionLink | footer |
|---|---|---|---|---|
| true | /logo.svg | Commencez → | /guide/ | ISC licencié | Copyright © 2019-present Starship Contributors |
Compatibilité d'abord
Fonctionne sur tous les principaux shells et système d'exploitation. Utilisez-le partout !
Propulsé par Rust
Profiter de toute la rapidité et la securité de Rust, pour rendre votre prompt le plus rapide et fiable possible.
Personnalisable
Tous les petits détails sont personnalisable à votre goût, pour rendre votre prompt aussi léger ou complet que le vous souhaitez.
Installation
-
Installer le binaire starship :
Télécharger les archives des binaires précompilés si vous n'utilisez pas une des plateformes citées ci-dessous.
Homebrew
$ brew install starshipRust (v1.38 ou plus)
$ cargo install starshipArch Linux (AUR)
Starship is disponible sur AUR sous le nom
starship. Installer le avecyayou votre client AUR favori.$ yay -S starshipNix (non stable)
$ nix-env --install starshipTermux
$ pkg install starship -
Add the init script to your shell's config file:
Bash
Add the following to the end of
~/.bashrc:# ~/.bashrc eval "$(starship init bash)"Fish
Add the following to the end of
~/.config/fish/config.fish:# ~/.config/fish/config.fish starship init fish | sourceZsh
Add the following to the end of
~/.zshrc:# ~/.zshrc eval "$(starship init zsh)"Powershell
Add the following to the end of
~\Documents\PowerShell\Microsoft.PowerShell_profile.ps1(or~/.config/powershell/Microsoft.PowerShell_profile.ps1on -Nix):# ~\Documents\PowerShell\Profile.ps1 Invoke-Expression (&starship init powershell)