* 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 (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 (Arabic) * New translations readme.md (Arabic) * New translations readme.md (Arabic) * New translations readme.md (Arabic) * New translations readme.md (German) * New translations readme.md (German) * New translations readme.md (German) * New translations readme.md (German) * New translations readme.md (Italian) * New translations readme.md (Italian) * New translations readme.md (Italian) * New translations readme.md (Italian) * New translations readme.md (Japanese) * New translations readme.md (Japanese) * New translations readme.md (Japanese) * New translations readme.md (Japanese) * New translations readme.md (Korean) * New translations readme.md (Korean) * New translations readme.md (Korean) * New translations readme.md (Korean) * New translations readme.md (Dutch) * New translations readme.md (Dutch) * New translations readme.md (Dutch) * New translations readme.md (Norwegian) * New translations readme.md (Norwegian) * New translations readme.md (Norwegian) * New translations readme.md (Polish) * New translations readme.md (Polish) * New translations readme.md (Polish) * New translations readme.md (Polish) * New translations readme.md (Portuguese) * New translations readme.md (Portuguese) * New translations readme.md (Portuguese) * New translations readme.md (Russian) * New translations readme.md (Russian) * New translations readme.md (Russian) * New translations readme.md (Russian) * New translations readme.md (Turkish) * New translations readme.md (Turkish) * New translations readme.md (Turkish) * New translations readme.md (Turkish) * New translations readme.md (Turkish) * New translations readme.md (Ukrainian) * New translations readme.md (Ukrainian) * New translations readme.md (Ukrainian) * New translations readme.md (Ukrainian) * New translations readme.md (Ukrainian) * New translations readme.md (Ukrainian) * New translations readme.md (Chinese Simplified) * New translations readme.md (Chinese Simplified) * New translations readme.md (Chinese Simplified) * New translations readme.md (Chinese Simplified) * New translations readme.md (Chinese Simplified) * New translations readme.md (Chinese Simplified) * New translations readme.md (Chinese Traditional) * New translations readme.md (Chinese Traditional) * New translations readme.md (Chinese Traditional) * New translations readme.md (Chinese Traditional) * New translations readme.md (Vietnamese) * New translations readme.md (Vietnamese) * New translations readme.md (Vietnamese) * New translations readme.md (Vietnamese) * New translations readme.md (Portuguese, Brazilian) * New translations readme.md (Portuguese, Brazilian) * New translations readme.md (Portuguese, Brazilian) * New translations readme.md (Portuguese, Brazilian) * 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 (Indonesian) * New translations readme.md (Indonesian) * New translations readme.md (Bengali) * New translations readme.md (Bengali) * New translations readme.md (Bengali) * New translations readme.md (Sorani (Kurdish)) * New translations readme.md (Sorani (Kurdish)) * 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 (Spanish) * New translations readme.md (Spanish) * 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 (Italian) * New translations readme.md (Japanese) * New translations readme.md (Japanese) * New translations readme.md (Korean) * New translations readme.md (Dutch) * New translations readme.md (Dutch) * New translations readme.md (Norwegian) * New translations readme.md (Norwegian) * New translations readme.md (Polish) * New translations readme.md (Polish) * New translations readme.md (Russian) * New translations readme.md (Russian) * New translations readme.md (Russian) * New translations readme.md (Turkish) * New translations readme.md (Turkish) * New translations readme.md (Ukrainian) * New translations readme.md (Ukrainian) * New translations readme.md (Ukrainian) * New translations readme.md (Chinese Simplified) * New translations readme.md (Chinese Simplified) * New translations readme.md (Chinese Simplified) * New translations readme.md (Chinese Traditional) * 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 (Portuguese, Brazilian) * New translations readme.md (Portuguese, Brazilian) * New translations readme.md (Indonesian) * New translations readme.md (Indonesian) * New translations readme.md (French) * New translations readme.md (Bengali) * New translations readme.md (Bengali) * New translations readme.md (Sorani (Kurdish)) * New translations readme.md (Sorani (Kurdish)) * New translations readme.md (Indonesian) * New translations readme.md (Indonesian) * New translations readme.md (Spanish) * New translations readme.md (Spanish) * New translations readme.md (Spanish) * New translations readme.md (Ukrainian) * New translations readme.md (Ukrainian) * New translations readme.md (Ukrainian) * New translations readme.md (Ukrainian) * New translations readme.md (Indonesian) * New translations readme.md (Dutch) * New translations readme.md (French) * New translations readme.md (Spanish) * New translations readme.md (Arabic) * New translations readme.md (German) * New translations readme.md (Italian) * New translations readme.md (Japanese) * New translations readme.md (Korean) * New translations readme.md (Dutch) * New translations readme.md (Norwegian) * New translations readme.md (Polish) * New translations readme.md (Portuguese) * New translations readme.md (Russian) * New translations readme.md (Turkish) * New translations readme.md (Ukrainian) * 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 (Bengali) * New translations readme.md (Sorani (Kurdish)) * New translations readme.md (Dutch) * New translations readme.md (French) * New translations readme.md (Spanish) * New translations readme.md (Arabic) * New translations readme.md (German) * New translations readme.md (Italian) * New translations readme.md (Japanese) * New translations readme.md (Korean) * New translations readme.md (Dutch) * New translations readme.md (Norwegian) * New translations readme.md (Polish) * New translations readme.md (Portuguese) * New translations readme.md (Russian) * New translations readme.md (Turkish) * New translations readme.md (Ukrainian) * 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 (Bengali) * New translations readme.md (Sorani (Kurdish)) * New translations readme.md (French) * New translations readme.md (Ukrainian) * New translations readme.md (Spanish) * New translations readme.md (Turkish) * New translations readme.md (Ukrainian) * New translations readme.md (French) * New translations readme.md (Spanish) * New translations readme.md (Arabic) * New translations readme.md (German) * New translations readme.md (Italian) * New translations readme.md (Japanese) * New translations readme.md (Korean) * New translations readme.md (Dutch) * New translations readme.md (Norwegian) * New translations readme.md (Polish) * New translations readme.md (Portuguese) * New translations readme.md (Russian) * New translations readme.md (Turkish) * New translations readme.md (Ukrainian) * 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 (Bengali) * New translations readme.md (Sorani (Kurdish)) * New translations readme.md (Spanish) * New translations readme.md (Arabic) * New translations readme.md (German) * New translations readme.md (Italian) * New translations readme.md (Japanese) * New translations readme.md (Korean) * New translations readme.md (Dutch) * New translations readme.md (Norwegian) * New translations readme.md (Polish) * New translations readme.md (Portuguese) * New translations readme.md (Russian) * New translations readme.md (Turkish) * New translations readme.md (Ukrainian) * 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 (French) * New translations readme.md (Bengali) * New translations readme.md (Sorani (Kurdish))
16 KiB
Site · Instalação · Configuração
O prompt minimalista, extremamente rápido e infinitamente personalizável para qualquer shell!
- Rápido: É rápido – muito muito rápido! 🚀
- Personalizável: Configure todos os detalhes do seu prompt.
- Universal: Funciona em qualquer shell, em qualquer sistema operacional.
- Inteligente: Mostra informações relevantes rapidamente.
- Muitos recursos: Suporte para todas as suas ferramentas favoritas.
- **Fácil:**Instalação rápida – comece a usar em minutos.
🚀 Instalação
Pré-requisitos
- Uma Nerd Font instalada e ativa em seu terminal (por exemplo, tente a FiraCode Nerd Font).
1º passo. Instalar o Starship
Selecione seu sistema operacional na lista abaixo para ver as instruções de instalação:
Android
Instale o Starship usando qualquer um dos seguintes gerenciadores de pacotes:
Repositório | Instruções |
---|---|
Termux | pkg install starship |
BSD
Instale o Starship usando qualquer um dos seguintes gerenciadores de pacotes:
Distribuição | Repositório | Instruções |
---|---|---|
Qualquer | crates.io | cargo install starship --locked |
FreeBSD | FreshPorts | pkg install starship |
NetBSD | pkgsrc | pkgin install starship |
Linux
Instale a versão mais recente no seu sistema:
curl -sS https://starship.rs/install.sh | sh
Ou instale o Starship usando qualquer um dos seguintes gerenciadores de pacotes:
Distribuição | Repositório | Instruções |
---|---|---|
Qualquer | crates.io | cargo install starship --locked |
Qualquer | conda-forge | conda install -c conda-forge starship |
Qualquer | Linuxbrew | brew install starship |
Alpine Linux 3.13+ | Alpine Linux Packages | apk add starship |
Arch Linux | Arch Linux Extra | pacman -S starship |
CentOS 7+ | Copr | dnf copr enable atim/starship dnf install starship |
Gentoo | Gentoo Packages | emerge app-shells/starship |
Manjaro | pacman -S starship |
|
NixOS | nixpkgs | nix-env -iA nixpkgs.starship |
openSUSE | OSS | zypper in starship |
Void Linux | Void Linux Packages | xbps-install -S starship |
macOS
Instale a versão mais recente no seu sistema:
curl -sS https://starship.rs/install.sh | sh
Ou instale o Starship usando qualquer um dos seguintes gerenciadores de pacotes:
Repositório | Instruções |
---|---|
crates.io | cargo install starship --locked |
conda-forge | conda install -c conda-forge starship |
Homebrew | brew install starship |
MacPorts | port install starship |
Windows
Instale a ultima versão para o seu sistema usando MSI-installer a partir da seção de lançamentos.
Instale o Starship usando qualquer um dos seguintes gerenciadores de pacotes:
Repositório | Instruções |
---|---|
crates.io | cargo install starship --locked |
Chocolatey | choco install starship |
conda-forge | conda install -c conda-forge starship |
Scoop | scoop install starship |
winget | winget install --id Starship.Starship |
2º passo. Configure seu shell para usar Starship
Configure seu shell para inicializar o starship. Selecione o seu na lista abaixo:
Bash
Adicione o seguinte comando no final do arquivo ~/.bashrc
:
eval "$(starship init bash)"
Cmd
Você precisa do Clink (v1.2.30+) com Cmd. Crie um arquivo neste caminho %LocalAppData%\clink\starship.lua
com o seguinte conteúdo:
load(io.popen('starship init cmd'):read("*a"))()
Elvish
Adicione o comando a seguir ao final do arquivo ~/.elvish/rc.elv
:
eval (starship init elvish)
Nota: Somente Elvish v0.18+ é suportado
Fish
Adicione o seguinte comando no final do arquivo ~/.config/fish/config.fish
:
starship init fish | source
Ion
Adicione o seguinte comando no final do arquivo ~/.config/ion/initrc
:
eval $(starship init ion)
Nushell
Adicione o seguinte ao final do seu arquivo env do Nushell (enconte-o rodando $nu.env-path
no Nushell):
mkdir ~/.cache/starship
starship init nu | save -f ~/.cache/starship/init.nu
E adicione o seguinte ao final da sua configuração do Nushell (encontre-o executando $nu.config-path
):
use ~/.cache/starship/init.nu
Nota: Somente o Nushell v0.78+ é suportado
PowerShell
Adicione o seguinte no final da sua configuração PowerShell (encontre executando $PROFILE
):
Invoke-Expression (&starship init powershell)
Tcsh
Adicione ao final do arquivo ~/.tcshrc
:
eval `starship init tcsh`
Xonsh
Adicione o seguinte ao final do arquivo ~/.xonshrc
:
execx($(starship init xonsh))
Zsh
Adicione o seguinte comando no final do arquivo ~/.zshrc
:
eval "$(starship init zsh)"
3º passo. Configurar o Starship
Inicie uma nova instância de shell e você deverá ver seu belo novo prompt de shell. Se você estiver feliz com as configurações padrões, aproveite!
Se você estiver procurando personalizar ainda mais a Starship:
-
Configuração – saiba como configurar o Starship para ajustar seu prompt ao seu gosto
-
Predefinições - seja inspirado nas configurações pré-construídas pelos outros
🤝 Contribuindo
Nós estamos sempre procurando contribuidores de todos os níveis de conhecimento! Se você deseja facilitar seu caminho para o projeto, experimente uma good first issue.
Se você é fluente em um idioma diferente do inglês, agradecemos qualquer ajuda para manter nossos documentos traduzidos e atualizados em outros idiomas. Se você quiser ajudar, as traduções podem ser contribuídas no Crowdin do Starship.
Se você estiver interessado em ajudar a contribuir com starship, dê uma olhada em nosso Guia de Contribuição. Além disso, sinta-se à vontade para entrar no nosso servidor do Discord e diga oi. 👋
💭 Inspirado por
Por favor, confira esses trabalhos anteriores que ajudaram a inspirar a criação do starship. 🙏
-
denysdovhan/spaceship-prompt – Um prompt ZSH para astronautas.
-
denysdovhan/robbyrussell-node – Tema robbyrussell para prompt em JavaScript.
-
reujab/silver – Um prompt personalizável com ícones do tipo powerline.
❤️ Patrocinadores
Apoie este projeto tornando-se um patrocinador. O seu nome ou logotipo aparecerá aqui com um link para o seu site.
📝 Licença
Copyright © 2019-presente, Colaboradores Starship.
Este projeto é licenciado pelo ISC.