* New translations gruvbox-rainbow.md (Dutch) * New translations jetpack.md (Dutch) * New translations readme.md (Norwegian) * New translations bracketed-segments.md (Norwegian) * New translations nerd-font.md (Norwegian) * New translations no-runtimes.md (Norwegian) * New translations plain-text.md (Norwegian) * New translations pure-preset.md (Norwegian) * New translations pastel-powerline.md (Norwegian) * New translations no-nerd-font.md (Norwegian) * New translations no-empty-icons.md (Norwegian) * New translations tokyo-night.md (Norwegian) * New translations gruvbox-rainbow.md (Norwegian) * New translations jetpack.md (Norwegian) * New translations readme.md (Polish) * New translations bracketed-segments.md (Polish) * New translations nerd-font.md (Polish) * New translations no-runtimes.md (Polish) * New translations plain-text.md (Polish) * New translations pure-preset.md (Polish) * New translations pastel-powerline.md (Polish) * New translations no-nerd-font.md (Polish) * New translations no-empty-icons.md (Polish) * New translations tokyo-night.md (Polish) * New translations gruvbox-rainbow.md (Polish) * New translations jetpack.md (Polish) * New translations readme.md (Portuguese) * New translations bracketed-segments.md (Portuguese) * New translations nerd-font.md (Portuguese) * New translations no-runtimes.md (Portuguese) * New translations plain-text.md (Portuguese) * New translations pure-preset.md (Portuguese) * New translations pastel-powerline.md (Portuguese) * New translations no-nerd-font.md (Portuguese) * New translations no-empty-icons.md (Portuguese) * New translations tokyo-night.md (Portuguese) * New translations gruvbox-rainbow.md (Portuguese) * New translations jetpack.md (Portuguese) * New translations readme.md (Russian) * New translations bracketed-segments.md (Russian) * New translations nerd-font.md (Russian) * New translations no-runtimes.md (Russian) * New translations plain-text.md (Russian) * New translations pure-preset.md (Russian) * New translations pastel-powerline.md (Russian) * New translations no-nerd-font.md (Russian) * New translations no-empty-icons.md (Russian) * New translations tokyo-night.md (Russian) * New translations gruvbox-rainbow.md (Russian) * New translations jetpack.md (Russian) * New translations readme.md (Turkish) * New translations bracketed-segments.md (Turkish) * New translations nerd-font.md (Turkish) * New translations no-runtimes.md (Turkish) * New translations plain-text.md (Turkish) * New translations pure-preset.md (Turkish) * New translations pastel-powerline.md (Turkish) * New translations no-nerd-font.md (Turkish) * New translations no-empty-icons.md (Turkish) * New translations tokyo-night.md (Turkish) * New translations gruvbox-rainbow.md (Turkish) * New translations jetpack.md (Turkish) * New translations readme.md (Ukrainian) * New translations bracketed-segments.md (Ukrainian) * New translations nerd-font.md (Ukrainian) * New translations no-runtimes.md (Ukrainian) * New translations plain-text.md (Ukrainian) * New translations pure-preset.md (Ukrainian) * New translations pastel-powerline.md (Ukrainian) * New translations no-nerd-font.md (Ukrainian) * New translations no-empty-icons.md (Ukrainian) * New translations tokyo-night.md (Ukrainian) * New translations gruvbox-rainbow.md (Ukrainian) * New translations jetpack.md (Ukrainian) * New translations readme.md (Chinese Simplified) * New translations bracketed-segments.md (Chinese Simplified) * New translations nerd-font.md (Chinese Simplified) * New translations no-runtimes.md (Chinese Simplified) * New translations plain-text.md (Chinese Simplified) * New translations pure-preset.md (Chinese Simplified) * New translations pastel-powerline.md (Chinese Simplified) * New translations no-nerd-font.md (Chinese Simplified) * New translations no-empty-icons.md (Chinese Simplified) * New translations tokyo-night.md (Chinese Simplified) * New translations gruvbox-rainbow.md (Chinese Simplified) * New translations jetpack.md (Chinese Simplified) * New translations readme.md (Chinese Traditional) * New translations bracketed-segments.md (Chinese Traditional) * New translations nerd-font.md (Chinese Traditional) * New translations no-runtimes.md (Chinese Traditional) * New translations plain-text.md (Chinese Traditional) * New translations pure-preset.md (Chinese Traditional) * New translations pastel-powerline.md (Chinese Traditional) * New translations no-nerd-font.md (Chinese Traditional) * New translations no-empty-icons.md (Chinese Traditional) * New translations tokyo-night.md (Chinese Traditional) * New translations gruvbox-rainbow.md (Chinese Traditional) * New translations jetpack.md (Chinese Traditional) * New translations readme.md (Vietnamese) * New translations bracketed-segments.md (Vietnamese) * New translations nerd-font.md (Vietnamese) * New translations no-runtimes.md (Vietnamese) * New translations plain-text.md (Vietnamese) * New translations pure-preset.md (Vietnamese) * New translations pastel-powerline.md (Vietnamese) * New translations no-nerd-font.md (Vietnamese) * New translations no-empty-icons.md (Vietnamese) * New translations tokyo-night.md (Vietnamese) * New translations gruvbox-rainbow.md (Vietnamese) * New translations jetpack.md (Vietnamese) * New translations readme.md (Portuguese, Brazilian) * New translations bracketed-segments.md (Portuguese, Brazilian) * New translations nerd-font.md (Portuguese, Brazilian) * New translations no-runtimes.md (Portuguese, Brazilian) * New translations plain-text.md (Portuguese, Brazilian) * New translations pure-preset.md (Portuguese, Brazilian) * New translations pastel-powerline.md (Portuguese, Brazilian) * New translations no-nerd-font.md (Portuguese, Brazilian) * New translations no-empty-icons.md (Portuguese, Brazilian) * New translations tokyo-night.md (Portuguese, Brazilian) * New translations gruvbox-rainbow.md (Portuguese, Brazilian) * New translations jetpack.md (Portuguese, Brazilian) * New translations readme.md (Indonesian) * New translations bracketed-segments.md (Indonesian) * New translations nerd-font.md (Indonesian) * New translations no-runtimes.md (Indonesian) * New translations plain-text.md (Indonesian) * New translations pure-preset.md (Indonesian) * New translations pastel-powerline.md (Indonesian) * New translations no-nerd-font.md (Indonesian) * New translations no-empty-icons.md (Indonesian) * New translations tokyo-night.md (Indonesian) * New translations gruvbox-rainbow.md (Indonesian) * New translations jetpack.md (Indonesian) * New translations readme.md (Bengali) * New translations bracketed-segments.md (Bengali) * New translations nerd-font.md (Bengali) * New translations no-runtimes.md (Bengali) * New translations plain-text.md (Bengali) * New translations pure-preset.md (Bengali) * New translations pastel-powerline.md (Bengali) * New translations no-nerd-font.md (Bengali) * New translations no-empty-icons.md (Bengali) * New translations tokyo-night.md (Bengali) * New translations gruvbox-rainbow.md (Bengali) * New translations jetpack.md (Bengali) * New translations readme.md (Sorani (Kurdish)) * New translations bracketed-segments.md (Sorani (Kurdish)) * New translations nerd-font.md (Sorani (Kurdish)) * New translations no-runtimes.md (Sorani (Kurdish)) * New translations plain-text.md (Sorani (Kurdish)) * New translations pure-preset.md (Sorani (Kurdish)) * New translations pastel-powerline.md (Sorani (Kurdish)) * New translations no-nerd-font.md (Sorani (Kurdish)) * New translations no-empty-icons.md (Sorani (Kurdish)) * New translations tokyo-night.md (Sorani (Kurdish)) * New translations gruvbox-rainbow.md (Sorani (Kurdish)) * New translations jetpack.md (Sorani (Kurdish)) * New translations bracketed-segments.md (Ukrainian) * New translations nerd-font.md (Ukrainian) * New translations no-runtimes.md (Ukrainian) * New translations plain-text.md (Ukrainian) * New translations pure-preset.md (Ukrainian) * New translations pastel-powerline.md (Ukrainian) * New translations no-nerd-font.md (Ukrainian) * New translations no-empty-icons.md (Ukrainian) * New translations tokyo-night.md (Ukrainian) * New translations gruvbox-rainbow.md (Ukrainian) * New translations jetpack.md (Ukrainian) * New translations readme.md (Portuguese, Brazilian) * New translations readme.md (Portuguese, Brazilian) * 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 (Ukrainian) * New translations readme.md (French) * New translations readme.md (Spanish) * New translations readme.md (German) * 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 (Japanese) * New translations readme.md (Japanese) * New translations readme.md (Japanese) * 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 (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))
17 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.
🔒 Code Signing Policy
Free code signing provided by SignPath.io, certificate by SignPath Foundation.
Code Signing Roles:
- Reviewers: Astronauts
- Approvers and Authors: Mission Control
This program will not transfer any information to other networked systems unless specifically requested by the user or the person installing or operating it.
📝 Licença
Copyright © 2019-presente, Colaboradores Starship.
Este projeto é licenciado pelo ISC.