2019-10-04 08:57:43 +00:00
---
home: true
heroImage: /logo.svg
2020-02-04 17:11:36 +00:00
heroText:
2020-11-29 04:45:59 +00:00
tagline: Минималистичная, быстрая и бесконечно настраиваемая командная строка для любой оболочки!
2019-12-24 21:54:29 +00:00
actionText: Начало работы →
2020-02-03 00:51:45 +00:00
actionLink: ./guide/
2020-02-04 17:11:36 +00:00
features:
-
title: Совместивость в первую очередь
details: Работает на большинстве распространенных оболочек и наиболее распространенных операционных системах. Используйте везде!
-
title: Основана на Rust
2020-11-29 04:45:59 +00:00
details: Приносит наилучшую в своем классе скорость и безопасность Rust, чтобы сделать вашу оболочку как можно быстрее и надежнее.
2020-02-04 17:11:36 +00:00
-
title: Настраиваемая
2020-11-29 04:45:59 +00:00
details: Каждая маленькая деталь настраивается по вашему вкусу, чтобы сделать эту оболочку минималистичной или функциональной, как вы захотите.
2019-12-24 21:54:29 +00:00
footer: Под лицензией ISC | Авторское право © 2019-настоящее Starship Contributors
2020-02-04 17:11:36 +00:00
#Used for the description meta tag, for SEO
metaTitle: "Starship: Cross-Shell Prompt"
2020-04-03 16:35:39 +00:00
description: Starship - минимальная, быстрая и бесконечная настраиваемая командная строка для любой оболочки! Показывает нужную вам информацию, оставаясь красивой и минималистичной. Быстрая установка доступна для Bash, Fish, ZSH, Ion и PowerShell.
2019-10-04 08:57:43 +00:00
---
< div class = "center" >
2019-12-14 23:46:45 +00:00
< video class = "demo-video" muted autoplay loop playsinline >
2019-10-04 08:57:43 +00:00
< source src = "/demo.webm" type = "video/webm" >
< source src = "/demo.mp4" type = "video/mp4" >
< / video >
< / div >
2019-12-24 21:54:29 +00:00
### Быстрая установка
2019-10-04 08:57:43 +00:00
2019-12-24 21:54:29 +00:00
1. Установите двоичный файл **starship** :
2019-10-04 08:57:43 +00:00
2019-12-24 21:54:29 +00:00
#### Установить последнюю версию
2019-10-04 08:57:43 +00:00
2019-12-24 21:54:29 +00:00
Через Bash:
2019-10-04 08:57:43 +00:00
```sh
2019-12-24 21:54:29 +00:00
curl -fsSL https://starship.rs/install.sh | bash
2019-10-04 08:57:43 +00:00
```
2019-12-24 21:54:29 +00:00
#### Установить через менеджер пакетов
2019-10-04 08:57:43 +00:00
2019-12-24 21:54:29 +00:00
С [Homebrew ](https://brew.sh/ ):
2019-10-04 08:57:43 +00:00
```sh
2019-12-24 21:54:29 +00:00
brew install starship
2019-10-04 08:57:43 +00:00
```
2020-02-04 17:11:36 +00:00
С [Scoop ](https://scoop.sh ):
2019-10-04 08:57:43 +00:00
2019-12-24 21:54:29 +00:00
```powershell
scoop install starship
2019-10-04 08:57:43 +00:00
```
2019-12-24 21:54:29 +00:00
1. Добавить сценарий инициализации в конфигурационный файл вашей оболочки:
2019-10-04 08:57:43 +00:00
#### Bash
2019-12-24 21:54:29 +00:00
Добавьте следующее в конец `~/.bashrc` :
2019-10-04 08:57:43 +00:00
```sh
# ~/.bashrc
eval "$(starship init bash)"
```
#### Fish
2019-12-24 21:54:29 +00:00
Добавьте следующее в конец `~/.config/fish/config.fish` :
2019-10-04 08:57:43 +00:00
```sh
# ~/.config/fish/config.fish
2019-10-29 03:48:45 +00:00
starship init fish | source
2019-10-04 08:57:43 +00:00
```
#### Zsh
2019-12-24 21:54:29 +00:00
Добавьте следующее в конец `~/.zshrc` :
2019-10-04 08:57:43 +00:00
```sh
# ~/.zshrc
eval "$(starship init zsh)"
```
2019-10-21 14:42:08 +00:00
2019-12-24 21:54:29 +00:00
#### PowerShell
2019-10-21 14:42:08 +00:00
2020-11-29 04:45:59 +00:00
Добавьте следующее в конец `Microsoft.PowerShell_profile.ps1` . Вы можете проверить местоположение этого файла, запросив переменную `$PROFILE` в PowerShell. Обычно он находится в `~\Documents\PowerShell\Microsoft.PowerShell_profile.ps1` или `~/.config/powershell/Microsoft.PowerShell_profile.ps1` на -Nix.
2019-10-21 14:42:08 +00:00
```sh
Invoke-Expression (& starship init powershell)
```
2019-12-24 21:54:29 +00:00
#### Ion
Добавьте следующее в конец `~/.config/ion/initrc` :
```sh
# ~/.config/ion/initrc
eval $(starship init ion)
```
2021-02-06 17:46:15 +00:00
#### Elvish
::: warning Only elvish v0.15 or higher is supported. :::
Add the following to the end of `~/.elvish/rc.elv` :
```sh
# ~/.elvish/rc.elv
eval (starship init elvish)
```
docs(i18n): New Crowdin updates (#2362)
* New translations README.md (Sorani (Kurdish))
* New translations README.md (Chinese Simplified)
* New translations README.md (Chinese Simplified)
* New translations README.md (Vietnamese)
* New translations README.md (Vietnamese)
* New translations README.md (Vietnamese)
* New translations README.md (Vietnamese)
* New translations README.md (Vietnamese)
* New translations README.md (Vietnamese)
* New translations README.md (Vietnamese)
* New translations README.md (Vietnamese)
* New translations README.md (Vietnamese)
* New translations README.md (Vietnamese)
* New translations README.md (Vietnamese)
* New translations README.md (Vietnamese)
* New translations README.md (Vietnamese)
* New translations README.md (Vietnamese)
* New translations README.md (Vietnamese)
* New translations README.md (Vietnamese)
* New translations README.md (Vietnamese)
* New translations README.md (Vietnamese)
* New translations README.md (Vietnamese)
* New translations README.md (Vietnamese)
* New translations README.md (Vietnamese)
* New translations README.md (Vietnamese)
* New translations README.md (Vietnamese)
* New translations README.md (Vietnamese)
* New translations README.md (Vietnamese)
* New translations README.md (Vietnamese)
* New translations README.md (Turkish)
* New translations README.md (Russian)
* New translations README.md (Portuguese)
* New translations README.md (Polish)
* New translations README.md (Dutch)
* New translations README.md (Japanese)
* New translations README.md (Italian)
* New translations README.md (German)
* New translations README.md (Chinese Simplified)
* New translations README.md (Chinese Traditional)
* New translations README.md (Sorani (Kurdish))
* New translations README.md (Portuguese, Brazilian)
* New translations README.md (Vietnamese)
* 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 (Spanish)
* New translations README.md (French)
* New translations README.md (Portuguese)
* New translations README.md (Arabic)
* New translations README.md (Spanish)
* New translations README.md (French)
* New translations README.md (Korean)
* New translations README.md (Sorani (Kurdish))
* New translations README.md (Portuguese, Brazilian)
* New translations README.md (Russian)
* 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 (Chinese Traditional)
* New translations README.md (Chinese Traditional)
* New translations README.md (Chinese Traditional)
* 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 (Italian)
* New translations README.md (German)
* New translations README.md (Arabic)
* New translations README.md (Spanish)
* New translations README.md (French)
* New translations README.md (Spanish)
* New translations README.md (Japanese)
* New translations README.md (Korean)
* New translations README.md (Chinese Simplified)
* New translations README.md (Dutch)
* New translations README.md (Polish)
* New translations README.md (Portuguese)
* New translations README.md (Russian)
* New translations README.md (Turkish)
* New translations README.md (Chinese Traditional)
* New translations README.md (Vietnamese)
* New translations README.md (Portuguese, Brazilian)
* 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 README.md (Spanish)
* New translations README.md (Spanish)
* New translations README.md (Spanish)
* New translations README.md (Spanish)
* New translations README.md (Korean)
* New translations README.md (Korean)
* New translations README.md (Korean)
* New translations README.md (Korean)
* 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 (Portuguese)
* 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 (Russian)
* New translations README.md (Polish)
* New translations README.md (Spanish)
* 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 (French)
* New translations README.md (Arabic)
* New translations README.md (French)
* New translations README.md (Polish)
* New translations README.md (Dutch)
* New translations README.md (Dutch)
* New translations README.md (Korean)
* New translations README.md (Korean)
* New translations README.md (Japanese)
* New translations README.md (Japanese)
* New translations README.md (Italian)
* New translations README.md (Italian)
* New translations README.md (German)
* New translations README.md (German)
* New translations README.md (Arabic)
* New translations README.md (Spanish)
* New translations README.md (Spanish)
* New translations README.md (Polish)
* New translations README.md (Portuguese)
* New translations README.md (Chinese Traditional)
* New translations README.md (Sorani (Kurdish))
* New translations README.md (Sorani (Kurdish))
* New translations README.md (Portuguese, Brazilian)
* New translations README.md (Portuguese, Brazilian)
* New translations README.md (Vietnamese)
* New translations README.md (Vietnamese)
* New translations README.md (Chinese Traditional)
* New translations README.md (Portuguese)
* New translations README.md (Chinese Simplified)
* New translations README.md (Chinese Simplified)
* New translations README.md (Turkish)
* New translations README.md (Turkish)
* New translations README.md (Russian)
* New translations README.md (Russian)
* New translations README.md (Polish)
* New translations README.md (Dutch)
* New translations README.md (Japanese)
* New translations README.md (Italian)
* New translations README.md (German)
* New translations README.md (Portuguese)
* New translations README.md (Sorani (Kurdish))
* New translations README.md (Portuguese, Brazilian)
* New translations README.md (Vietnamese)
* New translations README.md (Chinese Traditional)
* New translations README.md (Russian)
* New translations README.md (Chinese Simplified)
* New translations README.md (Turkish)
* New translations README.md (Arabic)
* New translations README.md (Spanish)
* New translations README.md (French)
* New translations README.md (Korean)
* New translations README.md (German)
* New translations README.md (Turkish)
* New translations README.md (Russian)
* New translations README.md (Portuguese)
* New translations README.md (Polish)
* New translations README.md (Dutch)
* New translations README.md (Japanese)
* New translations README.md (Italian)
* New translations README.md (German)
* New translations README.md (Chinese Simplified)
* New translations README.md (Chinese Traditional)
* New translations README.md (Sorani (Kurdish))
* New translations README.md (Portuguese, Brazilian)
* New translations README.md (Vietnamese)
* 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 (Spanish)
* New translations README.md (French)
* New translations README.md (Portuguese)
* New translations README.md (Arabic)
* New translations README.md (Spanish)
* New translations README.md (French)
* New translations README.md (Korean)
* New translations README.md (Sorani (Kurdish))
* New translations README.md (Portuguese, Brazilian)
* New translations README.md (Russian)
* 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 (Polish)
* New translations README.md (Dutch)
* New translations README.md (Japanese)
* New translations README.md (Italian)
* New translations README.md (German)
* New translations README.md (Portuguese)
* New translations README.md (Sorani (Kurdish))
* New translations README.md (Portuguese, Brazilian)
* New translations README.md (Vietnamese)
* New translations README.md (Chinese Traditional)
* New translations README.md (Russian)
* New translations README.md (Chinese Simplified)
* New translations README.md (Turkish)
* New translations README.md (Arabic)
* New translations README.md (Spanish)
* New translations README.md (French)
* New translations README.md (Korean)
* New translations README.md (Italian)
* New translations README.md (Italian)
2021-03-15 17:18:42 +00:00
#### Tcsh
Add the following to the end of `~/.tcshrc` :
```sh
# ~/.tcshrc
eval `starship init tcsh`
```