2022-12-05 06:54:12 +00:00
# Розширене встановлення
2022-10-15 01:53:32 +00:00
2023-04-11 04:05:27 +00:00
Щоб встановити starship, Ви мусите зробити дві речі:
2022-10-15 01:53:32 +00:00
2023-04-11 04:05:27 +00:00
1. Завантажити бінарний файл **starship** на Ваш компʼютер
1. Вказати у вашій оболонці, що ви бажаєте використовувати бінарний файл starship у вигляді командного рядка, змінивши скрипти ініціалізації
2022-10-15 01:53:32 +00:00
2024-03-03 16:55:30 +00:00
Для більшості користувачів чудово підійдуть інструкції на [головній сторінці ](../guide/#🚀-installation ). Однак, для деяких більш спеціалізованих платформ потрібні інші інструкції.
2022-10-15 01:53:32 +00:00
2022-12-05 06:54:12 +00:00
Існує так багато платформ, що вони не вписуються в основний файл README.md, тож ось деякі інструкції зі встановлення від спільноти для інших платформ. Вашої тут немає? Будь ласка, додайте її сюди, якщо дізнаєтесь!
2022-10-15 01:53:32 +00:00
## [Chocolatey](https://chocolatey.org)
2023-04-11 04:05:27 +00:00
### Вимоги
2022-10-15 01:53:32 +00:00
2022-12-05 06:54:12 +00:00
Перейдіть на [сторінку встановлення Chocolatey ](https://chocolatey.org/install ) та дотримуйтесь інструкцій, щоб установити Chocolatey.
2022-10-15 01:53:32 +00:00
2023-04-11 04:05:27 +00:00
### Встановлення
2022-10-15 01:53:32 +00:00
```powershell
choco install starship
```
## [termux](https://termux.com)
2023-04-11 04:05:27 +00:00
### Вимоги
2022-10-15 01:53:32 +00:00
```sh
pkg install getconf
```
2023-04-11 04:05:27 +00:00
### Встановлення
2022-10-15 01:53:32 +00:00
```sh
curl -sS https://starship.rs/install.sh | sh -s -- --bin-dir /data/data/com.termux/files/usr/bin
```
## [Funtoo Linux](https://www.funtoo.org/Welcome)
2023-04-11 04:05:27 +00:00
### Встановлення
2022-10-15 01:53:32 +00:00
2022-12-05 06:54:12 +00:00
У Funtoo Linux starship можна встановити з [core-kit ](https://github.com/funtoo/core-kit/tree/1.4-release/app-shells/starship ) через Portage:
2022-10-15 01:53:32 +00:00
```sh
emerge app-shells/starship
```
docs(i18n): new Crowdin updates (#5898)
* 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 (Ukrainian)
* New translations readme.md (Ukrainian)
* 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))
* 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 no-nerd-font.md (Japanese)
* New translations no-empty-icons.md (Japanese)
* New translations gruvbox-rainbow.md (Japanese)
* New translations jetpack.md (Japanese)
* New translations readme.md (Japanese)
* New translations readme.md (Japanese)
* 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 (Japanese)
* New translations readme.md (Japanese)
* 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 (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 (Ukrainian)
* New translations readme.md (Ukrainian)
* New translations readme.md (Japanese)
* 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 (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 (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 (Spanish)
* New translations readme.md (Japanese)
* New translations readme.md (Russian)
* New translations readme.md (Ukrainian)
* New translations readme.md (Chinese Simplified)
* New translations readme.md (Portuguese, Brazilian)
* 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 (Ukrainian)
* New translations readme.md (Ukrainian)
* New translations readme.md (Chinese Simplified)
* New translations readme.md (Vietnamese)
* 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 (French)
* New translations readme.md (Spanish)
* 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 (Italian)
* 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 (Norwegian)
* New translations readme.md (Norwegian)
* New translations readme.md (Polish)
* New translations readme.md (Polish)
* New translations readme.md (Portuguese)
* New translations readme.md (Portuguese)
* New translations readme.md (Russian)
* New translations readme.md (Russian)
* New translations readme.md (Turkish)
* New translations readme.md (Turkish)
* New translations readme.md (Ukrainian)
* New translations readme.md (Ukrainian)
* New translations readme.md (Chinese Simplified)
* New translations readme.md (Chinese Simplified)
* New translations readme.md (Chinese Traditional)
* 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 (Portuguese, Brazilian)
* New translations readme.md (Indonesian)
* New translations readme.md (Indonesian)
* New translations readme.md (Bengali)
* New translations readme.md (Bengali)
* New translations readme.md (Sorani (Kurdish))
* New translations readme.md (Sorani (Kurdish))
* New translations readme.md (French)
* 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))
2024-05-15 17:07:00 +00:00
## [Nix](https://wiki.nixos.org/wiki/Nix)
2022-10-15 01:53:32 +00:00
2022-12-05 06:54:12 +00:00
### Завантаження бінарного файлу
2022-10-15 01:53:32 +00:00
2023-04-11 04:05:27 +00:00
#### Примусово
2022-10-15 01:53:32 +00:00
```sh
nix-env -iA nixos.starship
```
2022-12-05 06:54:12 +00:00
#### Декларативно, для одного користувача, через [home-manager](https://github.com/nix-community/home-manager)
2022-10-15 01:53:32 +00:00
2022-12-05 06:54:12 +00:00
Увімкніть модуль `programs.starship` у Вашому файлі `home.nix` та додайте ваші налаштування
2022-10-15 01:53:32 +00:00
```nix
{
programs.starship = {
enable = true;
# Configuration written to ~/.config/starship.toml
settings = {
# add_newline = false;
# character = {
# success_symbol = "[➜](bold green)";
# error_symbol = "[➜](bold red)";
# };
# package.disabled = true;
};
};
}
```
2022-12-05 06:54:12 +00:00
потім виконайте
2022-10-15 01:53:32 +00:00
```sh
home-manager switch
```
2022-12-05 06:54:12 +00:00
#### Декларативно, для цілої системи, з NixOS
2022-10-15 01:53:32 +00:00
2023-04-11 04:05:27 +00:00
Додайте `pkgs.starship` до `environment.systemPackages` у налаштування `configuration.nix` , після чого виконайте
2022-10-15 01:53:32 +00:00
```sh
sudo nixos-rebuild switch
```