* 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))
16 KiB
¡El prompt minimalista, ultrarápido e infinitamente personalizable para cualquier intérprete de comandos!
- Rápido: es rápido – realmente rápido! 🚀
- Personalizable: configura cada parte de tu prompt.
- Universal: funciona en cualquier intérprete de comandos, en cualquier sistema operativo.
- Inteligente: muestra información relevante de un vistazo.
- Repleto de funciones: con soporte para tus herramientas favoritas.
- Fácil: rápido de instalar – empieza a usarlo en minutos.
Explora la documentación de Starship ▶
🚀 Instalación
Prerequisitos
- Una Nerd Font instalada y habilitada en tu terminal (por ejemplo, prueba Fira Code Nerd Font).
Paso 1. Instalar Starship
Seleccione su sistema operativo de la lista de abajo para ver las instrucciones de instalación:
Android
Instalar Starship usando cualquiera de los siguientes gestores de paquetes:
Repositorio | Instrucciones |
---|---|
Termux | pkg install starship |
BSD
Instalar Starship usando cualquiera de los siguientes gestores de paquetes:
Distribución | Repositorio | Instrucciones |
---|---|---|
Cualquiera | crates.io | cargo install starship --locked |
FreeBSD | FreshPorts | pkg install starship |
NetBSD | pkgsrc | pkgin install starship |
Linux
Instale la última versión para su sistema:
curl -sS https://starship.rs/install.sh | sh
Alternativamente, instale Starship usando cualquiera de los siguientes gestores de paquetes:
Distribución | Repositorio | Instrucciones |
---|---|---|
Cualquiera | crates.io | cargo install starship --locked |
Cualquiera | conda-forge | conda install -c conda-forge starship |
Cualquiera | Linuxbrew | brew install starship |
Cualquiera | 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 la última versión para su sistema:
curl -sS https://starship.rs/install.sh | sh
Alternativamente, instale Starship usando cualquiera de los siguientes gestores de paquetes:
Repositorio | Instrucciones |
---|---|
crates.io | cargo install starship --locked |
conda-forge | conda install -c conda-forge starship |
Homebrew | brew install starship |
MacPorts | port install starship |
Windows
Instalar Starship usando cualquiera de los siguientes gestores de paquetes:
Repositorio | Instrucciones |
---|---|
crates.io | cargo install starship --locked |
Chocolatey | choco install starship |
conda-forge | conda install -c conda-forge starship |
Scoop | scoop install starship |
Paso 2. Configura tu shell para usar Starship
Configure su shell para inicializar starship. Selecciona el tuyo de la lista de abajo:
Bash
Añade la siguiente línea al final de ~/.bashrc
:
eval "$(starship init bash)"
Cmd
Necesitas usar Clink (v1.2.30+) con Cmd. Crea un archivo en esta ruta %LocalAppData%\clink\starship.lua
con el siguiente contenido:
load(io.popen('starship init cmd'):read("*a"))()
Elvish
Añade el siguiente código al final de ~/.elvish/rc.elv
:
eval (starship init elvish)
Nota: Solo se admite Elvish v0.18+
Fish
Añade el siguiente código al final de ~/.config/fish/config.fish
:
starship init fish | source
Ion
Añade el siguiente código al final de ~/.config/ion/initrc
:
eval $(starship init ion)
Nushell
Ejecuta lo siguiente:
mkdir ~/.cache/starship
starship init nu | save ~/.cache/starship/init.nu
Añade lo siguiente al final de tu configuración de Nushell (encuéntrala ejecutando $nu.config-path
):
starship init nu | save ~/.cache/starship/init.nu
source ~/.cache/starship/init.nu
Nota: Solo se admite Nushell v0.60+
PowerShell
Añade lo siguiente al final de tu configuración de PowerShell (encuéntrala ejecutando $PROFILE
):
Invoke-Expression (&starship init powershell)
Tcsh
Añade el siguiente código al final de ~/.tcshrc
:
eval `starship init tcsh`
Xonsh
Añade lo siguiente al final de ~/.xonshrc
:
execx($(starship init xonsh))
Zsh
Añade el siguiente código al final de ~/.zshrc
:
eval "$(starship init zsh)"
Paso 3. Configurar Starship
Inicia una nueva instancia de shell, y deberías ver tu nuevo y hermoso prompt para shell. Si estás contento con los valores por defecto, ¡disfruta!
Si estás buscando personalizar Starship:
-
Configuración – aprende a configurar Starship para ajustar el prompt a tu gusto
-
Ajustes preestablecidos - inspírate en la configuración construida por otros
🤝 Contribuir
¡Siempre estamos buscando colaboradores de todos los niveles y habilidades! Si estás interesado en empezar en el proyecto con algo sencillo, prueba con un problema etiquetado como good first issue.
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.
Si estás interesado en ayudar contribuyendo a starship, por favor échale un vistazo a Guía de Colaboración. También siéntete libre de pasarte por nuestro servidor de Discord y saludarnos. 👋
💭 Inspirado por
Por favor, revisa estos proyectos que inspiraron la creación de Starship. 🙏
-
denysdovhan/spaceship-prompt – Un prompt de ZSH para astronautas.
-
denysdovhan/robbyrussell-node – Tema multi shell robbyrussell escrito en JavaScript.
-
reujab/silver - Un prompt multi-intérprete de comandos personalizable basada en Powerline con iconos.
📝 Licencia
Copyright © 2019-actualidad, Creadores de Starship.
Este proyecto está bajo una licencia ISC.