6a187dcbd7
* New translations README.md (Sorani (Kurdish)) * New translations README.md (Chinese Traditional) * New translations README.md (Chinese Simplified) * New translations README.md (Chinese Simplified) * New translations README.md (Chinese Traditional) * New translations README.md (Vietnamese) * New translations README.md (Vietnamese) * New translations README.md (Portuguese, Brazilian) * New translations README.md (Indonesian) * New translations README.md (Indonesian) * New translations README.md (Chinese Traditional) * New translations README.md (Portuguese, Brazilian) * New translations README.md (Vietnamese) * New translations README.md (Indonesian) * New translations README.md (Sorani (Kurdish)) * New translations bracketed-segments.md (Portuguese, Brazilian) * New translations nerd-font.md (Portuguese, Brazilian) * New translations README.md (French) * New translations README.md (French) * New translations README.md (French) * New translations README.md (French) * New translations README.md (French) * New translations README.md (French) * New translations README.md (Spanish) * New translations README.md (French) * New translations README.md (Arabic) * New translations README.md (Indonesian) * New translations README.md (Portuguese, Brazilian) * New translations README.md (Vietnamese) * New translations README.md (Chinese Traditional) * New translations README.md (Chinese Simplified) * New translations README.md (Turkish) * New translations README.md (Portuguese) * New translations README.md (Russian) * New translations README.md (Polish) * New translations README.md (Dutch) * New translations README.md (Korean) * New translations README.md (Japanese) * New translations README.md (Italian) * New translations README.md (German) * New translations README.md (Sorani (Kurdish)) * New translations README.md (French) * New translations README.md (French) * New translations README.md (French) * New translations README.md (French) * New translations README.md (French) * New translations README.md (French) * New translations README.md (Japanese) * New translations README.md (Japanese) * New translations README.md (Japanese) * New translations README.md (Japanese) * New translations README.md (Japanese) * New translations README.md (Japanese) * New translations README.md (Japanese) * New translations README.md (Japanese) * New translations README.md (Japanese) * New translations README.md (French) * New translations README.md (French) * New translations README.md (French) * New translations README.md (French) * New translations README.md (French) * New translations README.md (French) * New translations README.md (French) * New translations README.md (French) * New translations README.md (French) * New translations README.md (French) * New translations README.md (French) * New translations README.md (French) * New translations README.md (French) * New translations README.md (French) * New translations README.md (French) * New translations README.md (French) * New translations README.md (French) * New translations README.md (French) * New translations README.md (French) * New translations README.md (French) * New translations README.md (French) * New translations README.md (French) * New translations README.md (French) * New translations README.md (French) * New translations README.md (Spanish) * New translations README.md (Chinese Traditional) * New translations README.md (Russian) * New translations README.md (Turkish) * New translations README.md (Turkish) * New translations README.md (Chinese Simplified) * New translations README.md (Chinese Simplified) * New translations README.md (Chinese Traditional) * New translations README.md (Vietnamese) * New translations README.md (Portuguese) * New translations README.md (Vietnamese) * New translations README.md (Portuguese, Brazilian) * New translations README.md (Portuguese, Brazilian) * New translations README.md (Indonesian) * New translations README.md (Indonesian) * New translations README.md (Sorani (Kurdish)) * New translations README.md (Russian) * New translations README.md (Portuguese) * New translations README.md (French) * New translations README.md (Italian) * New translations README.md (French) * New translations README.md (Spanish) * New translations README.md (Arabic) * New translations README.md (Arabic) * New translations README.md (German) * New translations README.md (German) * New translations README.md (Italian) * New translations README.md (Polish) * New translations README.md (Japanese) * New translations README.md (Japanese) * New translations README.md (Korean) * New translations README.md (Korean) * New translations README.md (Dutch) * New translations README.md (Dutch) * New translations README.md (Polish) * New translations README.md (Sorani (Kurdish)) * New translations README.md (Spanish) * New translations README.md (Spanish) * New translations README.md (Spanish) * New translations README.md (Russian) * New translations README.md (Indonesian) * New translations README.md (Portuguese, Brazilian) * New translations README.md (Vietnamese) * New translations README.md (Chinese Traditional) * New translations README.md (Chinese Simplified) * New translations README.md (Turkish) * New translations README.md (Portuguese) * New translations README.md (French) * New translations README.md (Polish) * New translations README.md (Dutch) * New translations README.md (Korean) * New translations README.md (Japanese) * New translations README.md (Italian) * New translations README.md (German) * New translations README.md (Arabic) * New translations README.md (Sorani (Kurdish)) * New translations README.md (Spanish) * New translations README.md (Russian) * New translations README.md (Indonesian) * New translations README.md (Portuguese, Brazilian) * New translations README.md (Vietnamese) * New translations README.md (Chinese Traditional) * New translations README.md (Chinese Simplified) * New translations README.md (Turkish) * New translations README.md (Portuguese) * New translations README.md (French) * New translations README.md (Polish) * New translations README.md (Dutch) * New translations README.md (Korean) * New translations README.md (Japanese) * New translations README.md (Italian) * New translations README.md (German) * New translations README.md (Arabic) * New translations README.md (Sorani (Kurdish)) * New translations README.md (Spanish) * New translations README.md (Korean) * New translations README.md (Japanese) * New translations README.md (Italian) * New translations README.md (German) * New translations README.md (Arabic) * New translations README.md (French) * New translations README.md (Chinese Simplified) * New translations README.md (Chinese Traditional) * New translations README.md (Portuguese, Brazilian) * New translations README.md (Vietnamese) * New translations README.md (Polish) * New translations README.md (Turkish) * New translations README.md (Russian) * New translations README.md (Portuguese) * New translations README.md (Dutch) * New translations README.md (Indonesian) * New translations README.md (Sorani (Kurdish)) * New translations README.md (Spanish) * New translations README.md (Spanish) * New translations README.md (Spanish) * New translations README.md (Spanish) * New translations README.md (Spanish) * New translations README.md (Spanish) * New translations README.md (Spanish) * New translations README.md (Spanish) * New translations README.md (Spanish) * New translations README.md (Spanish) * New translations README.md (Spanish) * New translations README.md (Spanish) * New translations README.md (Spanish) * New translations README.md (Spanish) * New translations README.md (Spanish) * New translations README.md (Spanish) * New translations README.md (Spanish) * New translations README.md (Spanish) * New translations README.md (Spanish) * New translations README.md (Spanish) * New translations README.md (Spanish) * New translations bracketed-segments.md (Spanish) * New translations nerd-font.md (Spanish) * New translations no-runtimes.md (Spanish) * New translations plain-text.md (Spanish) * New translations pure-preset.md (Spanish) * New translations pastel-powerline.md (Spanish) * New translations README.md (Chinese Simplified) * New translations README.md (Arabic) * New translations README.md (German) * New translations README.md (Italian) * New translations README.md (Japanese) * New translations README.md (French) * New translations README.md (Japanese) * New translations README.md (Russian) * New translations README.md (Chinese Simplified) * New translations README.md (Chinese Traditional) * New translations README.md (Vietnamese) * New translations README.md (Portuguese, Brazilian) * New translations README.md (Indonesian) * New translations README.md (Spanish) * New translations README.md (Russian) * New translations README.md (Indonesian) * New translations README.md (Portuguese, Brazilian) * New translations README.md (Vietnamese) * New translations README.md (Chinese Traditional) * New translations README.md (Chinese Simplified) * New translations README.md (Turkish) * New translations README.md (Portuguese) * New translations README.md (French) * New translations README.md (Polish) * New translations README.md (Dutch) * New translations README.md (Korean) * New translations README.md (Japanese) * New translations README.md (Italian) * New translations README.md (German) * New translations README.md (Arabic) * New translations README.md (Sorani (Kurdish)) * New translations README.md (Japanese) * New translations README.md (Japanese) * New translations README.md (Spanish) * New translations README.md (Russian) * New translations README.md (Indonesian) * New translations README.md (Portuguese, Brazilian) * New translations README.md (Vietnamese) * New translations README.md (Chinese Traditional) * New translations README.md (Chinese Simplified) * New translations README.md (Turkish) * New translations README.md (Portuguese) * New translations README.md (French) * New translations README.md (Polish) * New translations README.md (Dutch) * New translations README.md (Korean) * New translations README.md (Japanese) * New translations README.md (Italian) * New translations README.md (German) * New translations README.md (Arabic) * New translations README.md (Sorani (Kurdish)) |
||
---|---|---|
.. | ||
README.md |
Site web · Installation · Configuration
L'invite minimaliste, ultra-rapide et personnalisable à l'infini pour n'importe quel shell !
- Rapide : il est rapide - vraiment vraiment rapide ! 🚀
- Personnalisable: configurez chaque élément de votre invite.
- Universel: fonctionne avec n'importe quel shell, sur n'importe quel système d'exploitation.
- Intelligent: affiche les informations utiles en un coup d'œil.
- Riche en fonctionnalités: supporte tous vos outils favoris.
- Facile: rapide à installer – commencez à l'utiliser en quelques minutes.
Consultez la documentation de Starship ▶
🚀 Installation
Pré-requis
Étape 1. Installer Starship
Sélectionnez votre système d'exploitation dans la liste ci-dessous pour voir les instructions d'installation:
Android
Installez Starship en utilisant l’un de ces gestionnaires de paquets:
Dépôt | Instructions |
---|---|
Termux | pkg install starship |
BSD
Installez Starship en utilisant l’un de ces gestionnaires de paquets:
Distribution | Dépôt | Instructions |
---|---|---|
Toutes | crates.io | cargo install starship --locked |
FreeBSD | FreshPorts | pkg install starship |
NetBSD | pkgsrc | pkgin install starship |
Linux
Installez la dernière version pour votre système:
curl -sS https://starship.rs/install.sh | sh
Vous pouvez aussi installer Starship en utilisant l’un de ces gestionnaires de paquets:
Distribution | Dépôt | Instructions |
---|---|---|
Toutes | crates.io | cargo install starship --locked |
Toutes | conda-forge | conda install -c conda-forge starship |
Toutes | Linuxbrew | brew install starship |
Toutes | Snapcraft | snap install starship |
Alpine Linux 3.13+ | Paquets Alpine Linux | apk add starship |
Arch Linux | Arch Linux Community | pacman -S starship |
CentOS 7+ | Copr | dnf copr enable atim/starship dnf install starship |
Fedora 31+ | Paquets Fedora | dnf install starship |
NixOS | nixpkgs | nix-env -iA nixos.starship |
Gentoo | Paquets Gentoo | emerge app-shells/starship |
Manjaro | pacman -S starship |
|
NixOS | nixpkgs | nix-env -iA nixpkgs.starship |
Void Linux | Paquets Void Linux | xbps-install -S starship |
macOS
Installez la dernière version pour votre système:
curl -sS https://starship.rs/install.sh | sh
Vous pouvez aussi installer Starship en utilisant l’un de ces gestionnaires de paquets:
Dépôt | Instructions |
---|---|
crates.io | cargo install starship --locked |
conda-forge | conda install -c conda-forge starship |
Homebrew | brew install starship |
MacPorts | port install starship |
Windows
Installez Starship en utilisant l’un de ces gestionnaires de paquets:
Dépôt | Instructions |
---|---|
crates.io | cargo install starship --locked |
Chocolatey | choco install starship |
conda-forge | conda install -c conda-forge starship |
Scoop | scoop install starship |
Étape 2. Configurer votre shell pour Starship
Configurez votre shell pour initialiser starship. Sélectionnez le vôtre dans la liste ci-dessous:
Bash
Ajouter ce qui suit à la fin de ~/.bashrc
:
eval "$(starship init bash)"
Cmd
Vous devez utiliser Clink (v1.2.30+) avec Cmd. Créez le fichier %LocalAppData%\clink\starship.lua
avec le contenu suivant:
load(io.popen('starship init cmd'):read("*a"))()
Elvish
Ajoutez ce qui suit à la fin de ~/.elvish/rc.elv
:
eval (starship init elvish)
Note : Seul Elvish v0.18+ est supporté
Fish
Ajoute ce qui suit à la fin de ~/.config/fish/config.fish
:
starship init fish | source
Ion
Ajouter ce qui suit à la fin de ~/.config/ion/initrc
:
eval $(starship init ion)
Nushell
Exécutez les commandes suivantes:
mkdir ~/.cache/starship
starship init nu | save ~/.cache/starship/init.nu
Ajoutez le code suivant à la fin de votre configuration Nushell (trouvez-la en exécutant $nu.config path
):
starship init nu | save ~/.cache/starship/init.nu
source ~/.cache/starship/init.nu
Note: Seul Nushell v0.60+ est supporté
PowerShell
Ajoutez ce qui suit à la fin de votre configuration PowerShell (trouvez-la en exécutant $PROFILE
) :
Invoke-Expression (&starship init powershell)
Tcsh
Ajoutez ce qui suit à la fin de ~/.tcshrc
:
eval `starship init tcsh`
Xonsh
Ajouter ce qui suit à la fin de ~/.xonshrc
:
execx($(starship init xonsh))
Zsh
Ajouter ce qui suit à la fin de ~/.zshrc
:
eval "$(starship init zsh)"
Étape 3. Configurer Starship
Démarrez une nouvelle instance de votre shell, et vous devriez voir votre magnifique nouveau prompt. Si vous appréciez les paramètres par défaut, profitez!
Si vous souhaitez personnaliser Starship:
-
Configuration – apprenez à configurer Starship pour ajuster votre prompt à vos préférences
-
Préréglages – inspirez vous des configuration préfaites par d’autres
🤝 Contribuer
Nous sommes toujours à la recherche de contributeurs de tous les niveaux de compétence! Si vous cherchez à faciliter votre entrée dans le projet, essayez un good first issue.
Si vous parlez couramment une langue autre que l'anglais, nous apprécions grandement toute aide pour que nos documents soient traduits et mis à jour dans d'autres langues. Si vous souhaitez nous aider, les traductions peuvent êtres suggérées sur le Crowdin de Starship.
Si vous êtes intéressé à aider à contribuer à Starship, veuillez jeter un coup d'oeil à notre Guide de contribution. Aussi, n'hésitez pas à vous rendre sur notre serveur Discord pour dire bonjour. 👋
💭Inspiré par
Jetez un œil aux précédents projets qui ont inspiré la création de starship. 🙏
-
denysdovhan/spaceship-prompt – Un prompt ZSH pour les astronautes.
-
denysdovhan/robbyrussell-node – Thème robbyrussell multi-shell écrit en JavaScript.
-
reujab/silver – Prompt multi-shell personnalisable, dans le style de powerline avec des icones.
📝 License
Copyright © 2019-présent, Contributeurs Starship.
Ce projet est sous licence ISC.