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 |
README.md
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 funcionando no seu terminal (por exemplo, experimente a Fira Code 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 |
Qualquer | Snapcraft | snap install starship |
Alpine Linux 3.13+ | Alpine Linux Packages | apk add starship |
Arch Linux | Arch Linux Community | pacman -S starship |
CentOS 7+ | Copr | dnf copr enable atim/starship dnf install starship |
Fedora 31+ | Fedora Packages | dnf install starship |
NixOS | nixpkgs | nix-env -iA nixos.starship |
Gentoo | Gentoo Packages | emerge app-shells/starship |
Manjaro | pacman -S starship |
|
NixOS | nixpkgs | nix-env -iA nixpkgs.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 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 |
2º passo. Configure seu shell para usar o 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
Run the following:
mkdir ~/.cache/starship
starship init nu | save ~/.cache/starship/init.nu
And add the following to the end of your Nushell configuration (find it by running $nu.config-path
):
starship init nu | save ~/.cache/starship/init.nu
source ~/.cache/starship/init.nu
Note: Only Nushell v0.60+ is supported
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ê está buscando um caminho mais fácil para começar no projeto, veja essas boas issues para começar.
Se você é fluente em uma linguá não inglesa, nos ficaríamos gratos por qualquer ajuda em manter nossas documentações traduzidas e atualizadas em outras linguás. Se você deseja ajudar nas traduções, você pode contribuir no Crowdin do Starship.
Se você está interessado em ajudar contribuindo com o projeto, dê uma olhada no nosso Guia de Contribuição. Além disso, sinta-se à vontade para entrar no nosso servidor no Discord e dizer oi. 👋
💭 Inspirado por
Por favor, confira estes projetos anteriores que ajudaram a inspirar a criação do startship. 🙏
-
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.
📝 Licença
Todos os direitos reservados © 2019-Presente, Contribuidores Starship.
Este projeto está licenciado pelo ISC.