2019-10-04 08:57:43 +00:00
---
home: true
heroImage: /logo.svg
2020-02-04 17:11:36 +00:00
heroText:
2020-04-03 16:35:39 +00:00
tagline: L'invite minimaliste, ultra-rapide et personnalisable à l'infini pour n'importe quel shell !
2019-10-21 14:42:08 +00:00
actionText: Commencez →
2020-02-03 00:51:45 +00:00
actionLink: ./guide/
2020-02-04 17:11:36 +00:00
features:
-
2020-09-30 20:26:13 +00:00
title: Compatibilité avant tout
2020-02-04 17:11:36 +00:00
details: Fonctionne sur tous les principaux shells et système d'exploitation. Utilisez-le partout !
-
title: Propulsé par Rust
2020-09-30 20:26:13 +00:00
details: Profiter de toute la rapidité et la sécurité de Rust pour rendre votre invite de commandes le plus rapide et fiable possible.
2020-02-04 17:11:36 +00:00
-
title: Personnalisable
2020-09-30 20:26:13 +00:00
details: 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.
footer: Licence ISC | Copyright © 2019-présent Contributeurs Starship
2020-02-04 17:11:36 +00:00
#Used for the description meta tag, for SEO
2020-09-30 20:26:13 +00:00
metaTitle: "Starship : Invite Multi-Shell"
description: Starship est un invite minimaliste, ultra-rapide et hautement personnalisable pour n'importe quel shell ! Montre les informations dont vous avez besoin tout en restant élégant et minimaliste. Installation rapide disponible pour Bash, Fish, ZSH, Ion et PowerShell.
2019-10-04 08:57:43 +00:00
---
< div class = "center" >
2019-12-14 23:46:45 +00:00
< video class = "demo-video" muted autoplay loop playsinline >
2019-10-04 08:57:43 +00:00
< source src = "/demo.webm" type = "video/webm" >
< source src = "/demo.mp4" type = "video/mp4" >
< / video >
< / div >
2019-11-02 11:12:46 +00:00
### Installation
2019-10-04 08:57:43 +00:00
2019-11-02 11:12:46 +00:00
1. Installer le binaire **starship** :
2019-10-04 08:57:43 +00:00
2019-12-24 21:54:29 +00:00
#### Installer la dernière version
2019-10-04 08:57:43 +00:00
2019-12-24 21:54:29 +00:00
Avec Shell:
2019-10-04 08:57:43 +00:00
```sh
2019-12-24 21:54:29 +00:00
curl -fsSL https://starship.rs/install.sh | bash
2019-10-04 08:57:43 +00:00
```
2019-12-24 21:54:29 +00:00
#### Installer via le gestionnaire de paquets
2019-10-04 08:57:43 +00:00
2019-12-24 21:54:29 +00:00
Avec [Homebrew ](https://brew.sh/ ):
2019-10-04 08:57:43 +00:00
```sh
2019-12-24 21:54:29 +00:00
brew install starship
2019-10-04 08:57:43 +00:00
```
2020-02-04 17:11:36 +00:00
Avec [Scoop ](https://scoop.sh ):
2019-10-04 08:57:43 +00:00
2019-12-24 21:54:29 +00:00
```powershell
scoop install starship
2019-10-04 08:57:43 +00:00
```
2020-09-30 20:26:13 +00:00
1. Ajouter le script d’ initialisation au fichier configuration de votre shell:
2019-10-04 08:57:43 +00:00
#### Bash
2019-12-24 21:54:29 +00:00
Ajouter ce qui suit à la fin de `~/.bashrc` :
2019-10-04 08:57:43 +00:00
```sh
# ~/.bashrc
eval "$(starship init bash)"
```
#### Fish
2019-12-24 21:54:29 +00:00
Ajoute ce qui suit à la fin de `~/.config/fish/config.fish` :
2019-10-04 08:57:43 +00:00
```sh
# ~/.config/fish/config.fish
2019-10-29 03:48:45 +00:00
starship init fish | source
2019-10-04 08:57:43 +00:00
```
#### Zsh
2019-12-24 21:54:29 +00:00
Ajouter ce qui suit à la fin de `~/.zshrc` :
2019-10-04 08:57:43 +00:00
```sh
# ~/.zshrc
eval "$(starship init zsh)"
```
2019-10-21 14:42:08 +00:00
#### Powershell
2020-11-29 04:45:59 +00:00
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.
2019-10-21 14:42:08 +00:00
```sh
Invoke-Expression (& starship init powershell)
```
2019-12-24 21:54:29 +00:00
#### Ion
Ajouter ce qui suit à la fin de `~/.config/ion/initrc` :
```sh
# ~/.config/ion/initrc
eval $(starship init ion)
```
2021-02-06 17:46:15 +00:00
#### Elvish
::: warning Only elvish v0.15 or higher is supported. :::
Add the following to the end of `~/.elvish/rc.elv` :
```sh
# ~/.elvish/rc.elv
eval (starship init elvish)
```
docs(i18n): New Crowdin updates (#2362)
* New translations README.md (Sorani (Kurdish))
* New translations README.md (Chinese Simplified)
* New translations README.md (Chinese Simplified)
* New translations README.md (Vietnamese)
* New translations README.md (Vietnamese)
* New translations README.md (Vietnamese)
* New translations README.md (Vietnamese)
* New translations README.md (Vietnamese)
* New translations README.md (Vietnamese)
* New translations README.md (Vietnamese)
* New translations README.md (Vietnamese)
* New translations README.md (Vietnamese)
* New translations README.md (Vietnamese)
* New translations README.md (Vietnamese)
* New translations README.md (Vietnamese)
* New translations README.md (Vietnamese)
* New translations README.md (Vietnamese)
* New translations README.md (Vietnamese)
* New translations README.md (Vietnamese)
* New translations README.md (Vietnamese)
* New translations README.md (Vietnamese)
* New translations README.md (Vietnamese)
* New translations README.md (Vietnamese)
* New translations README.md (Vietnamese)
* New translations README.md (Vietnamese)
* New translations README.md (Vietnamese)
* New translations README.md (Vietnamese)
* New translations README.md (Vietnamese)
* New translations README.md (Vietnamese)
* New translations README.md (Turkish)
* New translations README.md (Russian)
* New translations README.md (Portuguese)
* New translations README.md (Polish)
* New translations README.md (Dutch)
* New translations README.md (Japanese)
* New translations README.md (Italian)
* New translations README.md (German)
* New translations README.md (Chinese Simplified)
* New translations README.md (Chinese Traditional)
* New translations README.md (Sorani (Kurdish))
* New translations README.md (Portuguese, Brazilian)
* New translations README.md (Vietnamese)
* 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 (Spanish)
* New translations README.md (French)
* New translations README.md (Portuguese)
* New translations README.md (Arabic)
* New translations README.md (Spanish)
* New translations README.md (French)
* New translations README.md (Korean)
* New translations README.md (Sorani (Kurdish))
* New translations README.md (Portuguese, Brazilian)
* New translations README.md (Russian)
* 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 (Chinese Traditional)
* New translations README.md (Chinese Traditional)
* New translations README.md (Chinese Traditional)
* 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 (Italian)
* New translations README.md (German)
* New translations README.md (Arabic)
* New translations README.md (Spanish)
* New translations README.md (French)
* New translations README.md (Spanish)
* New translations README.md (Japanese)
* New translations README.md (Korean)
* New translations README.md (Chinese Simplified)
* New translations README.md (Dutch)
* New translations README.md (Polish)
* New translations README.md (Portuguese)
* New translations README.md (Russian)
* New translations README.md (Turkish)
* New translations README.md (Chinese Traditional)
* New translations README.md (Vietnamese)
* New translations README.md (Portuguese, Brazilian)
* 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 README.md (Spanish)
* New translations README.md (Spanish)
* New translations README.md (Spanish)
* New translations README.md (Spanish)
* New translations README.md (Korean)
* New translations README.md (Korean)
* New translations README.md (Korean)
* New translations README.md (Korean)
* 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 (Portuguese)
* 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 (Russian)
* New translations README.md (Polish)
* New translations README.md (Spanish)
* 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 (French)
* New translations README.md (Arabic)
* New translations README.md (French)
* New translations README.md (Polish)
* New translations README.md (Dutch)
* New translations README.md (Dutch)
* New translations README.md (Korean)
* New translations README.md (Korean)
* New translations README.md (Japanese)
* New translations README.md (Japanese)
* New translations README.md (Italian)
* New translations README.md (Italian)
* New translations README.md (German)
* New translations README.md (German)
* New translations README.md (Arabic)
* New translations README.md (Spanish)
* New translations README.md (Spanish)
* New translations README.md (Polish)
* New translations README.md (Portuguese)
* New translations README.md (Chinese Traditional)
* New translations README.md (Sorani (Kurdish))
* New translations README.md (Sorani (Kurdish))
* New translations README.md (Portuguese, Brazilian)
* New translations README.md (Portuguese, Brazilian)
* New translations README.md (Vietnamese)
* New translations README.md (Vietnamese)
* New translations README.md (Chinese Traditional)
* New translations README.md (Portuguese)
* New translations README.md (Chinese Simplified)
* New translations README.md (Chinese Simplified)
* New translations README.md (Turkish)
* New translations README.md (Turkish)
* New translations README.md (Russian)
* New translations README.md (Russian)
* New translations README.md (Polish)
* New translations README.md (Dutch)
* New translations README.md (Japanese)
* New translations README.md (Italian)
* New translations README.md (German)
* New translations README.md (Portuguese)
* New translations README.md (Sorani (Kurdish))
* New translations README.md (Portuguese, Brazilian)
* New translations README.md (Vietnamese)
* New translations README.md (Chinese Traditional)
* New translations README.md (Russian)
* New translations README.md (Chinese Simplified)
* New translations README.md (Turkish)
* New translations README.md (Arabic)
* New translations README.md (Spanish)
* New translations README.md (French)
* New translations README.md (Korean)
* New translations README.md (German)
* New translations README.md (Turkish)
* New translations README.md (Russian)
* New translations README.md (Portuguese)
* New translations README.md (Polish)
* New translations README.md (Dutch)
* New translations README.md (Japanese)
* New translations README.md (Italian)
* New translations README.md (German)
* New translations README.md (Chinese Simplified)
* New translations README.md (Chinese Traditional)
* New translations README.md (Sorani (Kurdish))
* New translations README.md (Portuguese, Brazilian)
* New translations README.md (Vietnamese)
* 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 (Spanish)
* New translations README.md (French)
* New translations README.md (Portuguese)
* New translations README.md (Arabic)
* New translations README.md (Spanish)
* New translations README.md (French)
* New translations README.md (Korean)
* New translations README.md (Sorani (Kurdish))
* New translations README.md (Portuguese, Brazilian)
* New translations README.md (Russian)
* 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 (Polish)
* New translations README.md (Dutch)
* New translations README.md (Japanese)
* New translations README.md (Italian)
* New translations README.md (German)
* New translations README.md (Portuguese)
* New translations README.md (Sorani (Kurdish))
* New translations README.md (Portuguese, Brazilian)
* New translations README.md (Vietnamese)
* New translations README.md (Chinese Traditional)
* New translations README.md (Russian)
* New translations README.md (Chinese Simplified)
* New translations README.md (Turkish)
* New translations README.md (Arabic)
* New translations README.md (Spanish)
* New translations README.md (French)
* New translations README.md (Korean)
* New translations README.md (Italian)
* New translations README.md (Italian)
2021-03-15 17:18:42 +00:00
#### Tcsh
Add the following to the end of `~/.tcshrc` :
```sh
# ~/.tcshrc
eval `starship init tcsh`
```