Starship – Cross-shell prompt

GitHub Actions workflow status Crates.io version Packaging status
Chat on Discord Follow @StarshipPrompt on Twitter

Вебсайт · Встановлення · Конфігурація

English   Deutsch   Español   Français   Bahasa Indonesia   Italiano   日本語   Português do Brasil   Русский   Tiếng Việt   简体中文   繁體中文

[![SWUbanner](https://raw.githubusercontent.com/vshymanskyy/StandWithUkraine/main/banner2-direct.svg)](https://vshymanskyy.github.io/StandWithUkraine)

Starship with iTerm2 and the Snazzy theme **Простий, супер швидкий та безмежно адаптивний командний рядок для будь-якої оболонки!** - **Швидкий:** так, швидкий - _реально_ швидкий! 🚀 - **Адаптивний:** налаштуйте кожен елемент вашого командного запиту. - **Універсальний:** працює у всіх командних оболонках, в будь-якій операційній системі. - **Інформативний:** одразу показує потрібну інформацію. - **Багато функцій:** підтримує всі ваші улюблені інструменти. - **Простий:** швидка інсталяція дозволяє почати роботу за лічені хвилини.

Ознайомтесь з документацією Starship   ▶

## 🚀 Установлення ### Передумови - A [Nerd Font](https://www.nerdfonts.com/) installed and enabled in your terminal (for example, try the [FiraCode Nerd Font](https://www.nerdfonts.com/font-downloads)). ### Крок 1. Установіть starship Виберіть Вашу операційну систему зі списку нижче, щоб переглянути інструкцію з установки:
Android Встановіть Starship використовуючи будь-який з наступних менеджерів пакетів: | Репозиторій | Командна інструкція | | --------------------------------------------------------------------------------- | ---------------------- | | [Termux](https://github.com/termux/termux-packages/tree/master/packages/starship) | `pkg install starship` |
BSD Встановіть Starship використовуючи будь-який з наступних менеджерів пакетів: | Дистрибутив | Репозиторій | Командна інструкція | | --------------- | -------------------------------------------------------- | --------------------------------- | | **_Будь-який_** | **[crates.io](https://crates.io/crates/starship)** | `cargo install starship --locked` | | FreeBSD | [FreshPorts](https://www.freshports.org/shells/starship) | `pkg install starship` | | NetBSD | [pkgsrc](https://pkgsrc.se/shells/starship) | `pkgin install starship` |
Linux Оновіться до останньої версії системи: ```sh curl -sS https://starship.rs/install.sh | sh ``` Як варіант, можете встановити Starship через будь-який з наступних пакетних менеджерів: | Дистрибутив | Репозиторій | Командна інструкція | | ------------------ | ----------------------------------------------------------------------------------------------- | ------------------------------------------------------------------------------ | | **_Будь-який_** | **[crates.io](https://crates.io/crates/starship)** | `cargo install starship --locked` | | _Будь-який_ | [conda-forge](https://anaconda.org/conda-forge/starship) | `conda install -c conda-forge starship` | | _Будь-який_ | [Linuxbrew](https://formulae.brew.sh/formula/starship) | `brew install starship` | | _Будь-який_ | [Snapcraft](https://snapcraft.io/starship) | `snap install starship` | | Alpine Linux 3.13+ | [Alpine Linux Packages](https://pkgs.alpinelinux.org/packages?name=starship) | `apk add starship` | | Arch Linux | [Arch Linux Community](https://archlinux.org/packages/community/x86_64/starship) | `pacman -S starship` | | CentOS 7+ | [Copr](https://copr.fedorainfracloud.org/coprs/atim/starship) | `dnf copr enable atim/starship`
`dnf install starship` | | Gentoo | [Gentoo Packages](https://packages.gentoo.org/packages/app-shells/starship) | `emerge app-shells/starship` | | Manjaro | | `pacman -S starship` | | NixOS | [nixpkgs](https://github.com/NixOS/nixpkgs/blob/master/pkgs/tools/misc/starship/default.nix) | `nix-env -iA nixpkgs.starship` | | Void Linux | [Void Linux Packages](https://github.com/void-linux/void-packages/tree/master/srcpkgs/starship) | `xbps-install -S starship` |
macOS Оновіться до останньої версії системи: ```sh curl -sS https://starship.rs/install.sh | sh ``` Як варіант, можете встановити Starship через будь-який з наступних пакетних менеджерів: | Репозиторій | Командна інструкція | | -------------------------------------------------------- | --------------------------------------- | | **[crates.io](https://crates.io/crates/starship)** | `cargo install starship --locked` | | [conda-forge](https://anaconda.org/conda-forge/starship) | `conda install -c conda-forge starship` | | [Homebrew](https://formulae.brew.sh/formula/starship) | `brew install starship` | | [MacPorts](https://ports.macports.org/port/starship) | `port install starship` |
Windows Встановіть останню версію системи за допомогою MSI-інсталятора з розділу [релізів](https://github.com/starship/starship/releases/latest). Встановіть Starship використовуючи будь-який з наступних менеджерів пакетів: | Репозиторій | Командна інструкція | | -------------------------------------------------------------------------------------------- | --------------------------------------- | | **[crates.io](https://crates.io/crates/starship)** | `cargo install starship --locked` | | [Chocolatey](https://community.chocolatey.org/packages/starship) | `choco install starship` | | [conda-forge](https://anaconda.org/conda-forge/starship) | `conda install -c conda-forge starship` | | [Scoop](https://github.com/ScoopInstaller/Main/blob/master/bucket/starship.json) | `scoop install starship` | | [winget](https://github.com/microsoft/winget-pkgs/tree/master/manifests/s/Starship/Starship) | `winget install --id Starship.Starship` |
### Крок 2. Налаштуйте Вашу оболонку для використання starship Налаштуйте свою оболонку, щоб ініціалізувати starship. Виберіть ваш варіант зі списку:
Bash Додайте наступний рядок наприкінці `~/.bashrc`: ```sh eval "$(starship init bash)" ```
Cmd Вам потрібно використовувати [Clink](https://chrisant996.github.io/clink/clink.html) (v1.2.30+) разом з Cmd. Створіть файл за шляхом `%LocalAppData%\clink\starship.lua` із наступним вмістом: ```lua load(io.popen('starship init cmd'):read("*a"))() ```
Elvish Додайте наступний рядок наприкінці `~/.elvish/rc.elv`: ```sh eval (starship init elvish) ``` Примітка: Підтримується лише Elvish v0.18+
Fish Додайте наступний рядок наприкінці `~/.config/fish/config.fish`: ```fish starship init fish | source ```
Ion Додайте наступний рядок наприкінці `~/.config/ion/initrc`: ```sh eval $(starship init ion) ```
Nushell Add the following to the end of your Nushell env file (find it by running `$nu.env-path` in Nushell): ```sh mkdir ~/.cache/starship starship init nu | save -f ~/.cache/starship/init.nu ``` Додайте наступний рядок наприкінці Вашої конфігурації Nushell (знайдіть її виконавши `$nu.config-path`): ```sh source ~/.cache/starship/init.nu ``` Примітка: Підтримується лише Nushell v0.73+
PowerShell Додайте наступний рядок наприкінці Вашої конфігурації PowerShell (знайдіть її виконавши `$PROFILE`): ```powershell Invoke-Expression (&starship init powershell) ```
Tcsh Додайте наступний рядок наприкінці `~/.tcshrc`: ```sh eval `starship init tcsh` ```
Xonsh Додайте наступний рядок наприкінці `~/.xonshrc`: ```python execx($(starship init xonsh)) ```
Zsh Додайте наступний рядок наприкінці `~/.zshrc`: ```sh eval "$(starship init zsh)" ```
### Крок 3. Налаштуйте starship Start a new shell instance, and you should see your beautiful new shell prompt. If you're happy with the defaults, enjoy! If you're looking to further customize Starship: - **[Configuration](https://starship.rs/config/)** – learn how to configure Starship to tweak your prompt to your liking - **[Presets](https://starship.rs/presets/)** – get inspired by the pre-built configuration of others ## 🤝 Contributing We are always looking for contributors of **all skill levels**! If you're looking to ease your way into the project, try out a [good first issue](https://github.com/starship/starship/labels/🌱%20good%20first%20issue). If you are fluent in a non-English language, we greatly appreciate any help keeping our docs translated and up-to-date in other languages. If you would like to help, translations can be contributed on the [Starship Crowdin](https://translate.starship.rs/). If you are interested in helping contribute to starship, please take a look at our [Contributing Guide](https://github.com/starship/starship/blob/master/CONTRIBUTING.md). Also, feel free to drop into our [Discord server](https://discord.gg/8Jzqu3T) and say hi. 👋 ## 💭 Inspired By Будь ласка, перегляньте ці попередні роботи, які надихнули на створення starship. 🙏 - **[denysdovhan/spaceship-prompt](https://github.com/denysdovhan/spaceship-prompt)** – Командний рядок ZSH для астронавтів. - **[denysdovhan/robbyrussell-node](https://github.com/denysdovhan/robbyrussell-node)** – Cross-shell robbyrussell theme written in JavaScript. - **[reujab/silver](https://github.com/reujab/silver)** – A cross-shell customizable powerline-like prompt with icons. ## ❤️ Sponsors Support this project by [becoming a sponsor](https://github.com/sponsors/starship). Your name or logo will show up here with a link to your website. **Supporter Tier** - [Dimension](https://dimension.dev/) - [Appwrite](https://appwrite.io/)


Starship rocket icon

## 📝 Ліцензія Copyright © 2019-present, [Starship Contributors](https://github.com/starship/starship/graphs/contributors).
This project is [ISC](https://github.com/starship/starship/blob/master/LICENSE) licensed.