2020-05-05 13:07:34 -04:00
---
home: true
heroImage: /logo.svg
heroText:
2020-05-15 11:55:21 -04:00
tagline: O prompt minimalista, extremamente rápido e infinitamente personalizável para qualquer shell!
actionText: Primeiros passos →
2020-05-05 13:07:34 -04:00
actionLink: ./guide/
features:
-
2020-05-15 11:55:21 -04:00
title: Compatibilidade primeiro
details: Funciona nos principais shells nos principais sistemas operacionais. Use em qualquer lugar!
2020-05-05 13:07:34 -04:00
-
2020-05-15 11:55:21 -04:00
title: Poder do Rust
details: Tenha o melhor da velocidade e segurança do Rust, para tornar seu prompt o mais rápido e confiável possível.
2020-05-05 13:07:34 -04:00
-
2020-05-15 11:55:21 -04:00
title: Personalizável
details: Cada pequeno detalhe é personalizável ao seu gosto, para tornar esse prompt o mínimo possível ou rico em recursos, como você preferir.
footer: Licenciado pelo ISC | Todos os direitos reservados © 2019-Presente | Contribuidores Starship
2020-05-05 13:07:34 -04:00
#Used for the description meta tag, for SEO
metaTitle: "Starship: Cross-Shell Prompt"
2020-05-15 11:55:21 -04:00
description: O Starship é o prompt minimalista, extremamente rápido e extremamente personalizável para qualquer shell! Mostra as informações que você precisa, mantendo-se elegante e minimalista. Instalação rápida disponível para Bash, Fish, ZSH, Ion e Powershell.
2020-05-05 13:07:34 -04:00
---
<div class="center">
<video class="demo-video" muted autoplay loop playsinline>
<source src="/demo.webm" type="video/webm">
<source src="/demo.mp4" type="video/mp4">
</video>
</div>
2020-05-15 11:55:21 -04:00
### Instalação
2020-05-05 13:07:34 -04:00
2020-05-15 11:55:21 -04:00
1. Instale o binário do **starship ** :
2020-05-05 13:07:34 -04:00
2020-05-15 11:55:21 -04:00
#### Instalar a última versão
2020-05-05 13:07:34 -04:00
2020-05-15 11:55:21 -04:00
Com o Shell:
2020-05-05 13:07:34 -04:00
```sh
curl -fsSL https://starship.rs/install.sh | bash
` ``
2020-05-15 11:55:21 -04:00
#### Instalar via Gerenciador de Pacotes
2020-05-05 13:07:34 -04:00
2020-05-15 11:55:21 -04:00
Com o [Homebrew](https://brew.sh/):
2020-05-05 13:07:34 -04:00
` ``sh
brew install starship
` ``
2020-05-15 11:55:21 -04:00
Com o [Scoop](https://scoop.sh):
2020-05-05 13:07:34 -04:00
` ``powershell
scoop install starship
` ``
2020-05-15 11:55:21 -04:00
1. Adicione o script de inicialização ao arquivo de configuração do shell:
2020-05-05 13:07:34 -04:00
#### Bash
2020-05-15 11:55:21 -04:00
Adicione o seguinte comando no final do arquivo ` ~/.bashrc`:
2020-05-05 13:07:34 -04:00
` ``sh
# ~/.bashrc
eval "$(starship init bash)"
` ``
#### Fish
2020-05-15 11:55:21 -04:00
Adicione o seguinte comando no final do arquivo ` ~/.config/fish/config.fish`:
2020-05-05 13:07:34 -04:00
` ``sh
# ~/.config/fish/config.fish
starship init fish | source
` ``
#### Zsh
2020-05-15 11:55:21 -04:00
Adicione o seguinte comando no final do arquivo ` ~/.zshrc`:
2020-05-05 13:07:34 -04:00
` ``sh
# ~/.zshrc
eval "$(starship init zsh)"
` ``
#### Powershell
2020-11-28 23:45:59 -05:00
Add the following to the end of ` Microsoft.PowerShell_profile.ps1`. You can check the location of this file by querying the ` $PROFILE` variable in PowerShell. Typically the path is ` ~\Documents\PowerShell\Microsoft.PowerShell_profile.ps1` or ` ~/.config/powershell/Microsoft.PowerShell_profile.ps1` on -Nix.
2020-05-05 13:07:34 -04:00
` ``sh
Invoke-Expression (&starship init powershell)
` ``
#### Ion
2020-05-15 11:55:21 -04:00
Adicione o seguinte comando no final do arquivo ` ~/.config/ion/initrc`:
2020-05-05 13:07:34 -04:00
` ``sh
# ~/.config/ion/initrc
eval $(starship init ion)
` ``