Sitio Web · Instalación · Configuración
Explora la documentación de Starship ▶
## 🚀 Instalación ### Prerequisitos - Una [Nerd Font](https://www.nerdfonts.com/) instalada y habilitada en tu terminal (por ejemplo, prueba [Fira Code Nerd Font](https://www.nerdfonts.com/font-downloads)). ### Comenzar **Nota**: debido a la proliferación de diferentes plataformas, solo un subconjunto de plataformas soportadas se muestra a continuación. ¿No puedes ver el tuyo? Echa un vistazo a las [instrucciones adicionales de la plataforma](https://starship.rs/installing/). 1. Instala el binario de **Starship**: #### Instalar la última versión ##### Desde un binario preconstruido, con el intérprete de comandos: ```sh sh -c "$(curl -fsSL https://starship.rs/install.sh)" ``` Para actualizar Starship, vuelve a ejecutar el guión anterior. Reemplazará la versión actual sin tocar la configuración de Starship. **Nota** - Los valores por defecto del guión de instalación se pueden anular (ver la ayuda incorporada). ```sh sh -c "$(curl -fsSL https://starship.rs/install.sh)" -- --help ``` #### Instalar con un gestor de paquetes ##### Ejemplo: [Homebrew](https://brew.sh/): ```sh brew install starship ``` ##### Con [Scoop](https://scoop.sh): ```powershell scoop install starship ``` 2. Añade el guión de inicio al archivo de configuración de tu intérprete de comandos: #### Bash Añade el siguiente código al final de `~/.bashrc`: ```sh # ~/.bashrc eval "$(starship init bash)" ``` #### Fish Añade el siguiente código al final de `~/.config/fish/config.fish`: ```sh # ~/.config/fish/config.fish starship init fish | source ``` #### Zsh Añade el siguiente código al final de `~/.zshrc`: ```sh # ~/.zshrc eval "$(starship init zsh)" ``` #### PowerShell Añade lo siguiente al final de `Microsoft.PowerShell_profile.ps1`. Puedes comprobar la ubicación de este archivo consultando la variable `$PROFILE` en PowerShell. Normalmente la ruta es `~\Documents\PowerShell\Microsoft.PowerShell_profile.ps1` o `~/.config/powershell/Microsoft.PowerShell_profile.ps1` en -Nix. ```powershell Invoke-Expression (&starship init powershell) ``` #### Ion Añade el siguiente código al final de `~/.config/ion/initrc`: ```sh # ~/.config/ion/initrc eval $(starship init ion) ``` #### Elvish **Advertencia** Sólo se admite Elvish v0.15 o superior. Añade el siguiente código al final de `~/.elvish/rc.elv`: ```sh # ~/.elvish/rc.elv eval (starship init elvish) ``` #### Tcsh Añade el siguiente código al final de `~/.tcshrc`: ```sh # ~/.tcshrc eval `starship init tcsh` ``` #### Xonsh Add the following to the end of `~/.xonshrc`: ```sh # ~/.xonshrc execx($(starship init xonsh)) ``` #### Nushell **Warning** This will change in the future. Only nu version v0.33 or higher is supported. Add the following to your nu config file. You can check the location of this file by running `config path` in nu. ```toml startup = [ "mkdir ~/.cache/starship", "starship init nu | save ~/.cache/starship/init.nu", "source ~/.cache/starship/init.nu" ] prompt = "starship_prompt" ``` ## 🤝 Colaborando ¡Siempre estamos buscando colaboradores de **todos los niveles y habilidades**! Si estas buscando una manera fácil de ayudar este proyecto, puedes intentar resolver un problema con la etiqueta "[good first issue](https://github.com/starship/starship/labels/🌱%20good%20first%20issue)". Si hablas con fluidez en un idioma que no sea inglés, agradecemos mucho cualquier ayuda para mantener nuestros documentos traducidos y actualizados en otros idiomas. Si quieres ayudar, puedes contribuir con las traducciones en el [Crowdin de Starship](https://translate.starship.rs/). Si quieres ayudar a colaborar a Starship, por favor mira nuestra [Guía de Colaboradores](https://github.com/starship/starship/blob/master/CONTRIBUTING.md). Además, siéntete libre de entrar en nuestro [servidor de Discord](https://discord.gg/8Jzqu3T) y di "¡Hola!". 👋 ### Desarrolladores Este proyecto existe gracias a todas las personas que han ayudado. [[Contribuir](https://github.com/starship/starship/blob/master/CONTRIBUTING.md)].