3c06374907
* New translations readme.md (Ukrainian) * New translations readme.md (Chinese Simplified) * New translations readme.md (Chinese Simplified) * New translations readme.md (Chinese Simplified) * New translations readme.md (Chinese Simplified) * New translations readme.md (Chinese Simplified) * New translations nerd-font.md (Chinese Simplified) * New translations tokyo-night.md (Chinese Simplified) * New translations gruvbox-rainbow.md (Chinese Simplified) * New translations readme.md (Chinese Simplified) * 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 (German) * New translations readme.md (German) * New translations readme.md (German) * New translations readme.md (Arabic) * New translations readme.md (Arabic) * New translations readme.md (Ukrainian) * New translations readme.md (Spanish) * 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 (Ukrainian) * New translations readme.md (Russian) * New translations readme.md (Russian) * New translations readme.md (Russian) * New translations readme.md (Russian) * New translations readme.md (Russian) * New translations readme.md (Spanish) * 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 (Chinese Traditional) * New translations readme.md (Chinese Traditional) * New translations readme.md (Chinese Traditional) * New translations readme.md (Ukrainian) * New translations readme.md (Indonesian) * New translations readme.md (Portuguese, Brazilian) * New translations readme.md (Portuguese, Brazilian) * New translations readme.md (Chinese Traditional) * New translations readme.md (Chinese Traditional) * New translations readme.md (Chinese Traditional) * New translations readme.md (German) * New translations readme.md (German) * New translations readme.md (German) * New translations readme.md (German) * New translations readme.md (German) * New translations gruvbox-rainbow.md (German) |
||
---|---|---|
.. | ||
advanced-config | ||
config | ||
faq | ||
guide | ||
installing | ||
migrating-to-0.45.0 | ||
presets | ||
README.md |
README.md
home | heroImage | heroText | tagline | actionText | actionLink | features | footer | metaTitle | description | |||||||||||||||
---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|
true | /logo.svg | Prompt yang minimal, super cepat, dan dapat disesuaikan tanpa batas untuk shell apa pun! | Mari Mulai → | ./guide/ |
|
Berlisensi ISC | Hak Cipta © 2019-sekarang Kontributor Starship | Starship: Prompt Lintas Shell | Starship merupakan sebuah prompt yang minimal, super cepat, dan sangat bisa untuk dikustomisasi untuk shell apapun! Bisa menampilkan informasi yang kamu butuhkan, namun tetap bisa tampil dengan ramping dan minimal. Instalasi sederhana tersedia untuk Bash, Fish, ZSH, Ion, Tcsh, Elvish, Nu, Xonsh, Cmd, dan PowerShell. |
Prasyarat
- Nerd Font yang sudah terpasang dan berjalan di dalam terminalmu.
Instalasi Sederhana
-
Instalasi dengan menggunakan binary starship:
Pasang Versi Terbaru
Dengan Shell:
curl -sS https://starship.rs/install.sh | sh
Untuk memperbarui Starship, jalankan ulang skrip di atas. Hal ini akan memperbarui versi yang terpasang tanpa mengubah konfigurasi Starship.
Pasang Melalui Package Manager
Dengan Homebrew:
brew install starship
With Winget:
winget install starship
-
Tambahkan skrip init ke dalam file konfigurasi Shell:
Bash
Tambahkan skrip berikut pada baris akhir
~/.bashrc:
:# ~/.bashrc eval "$(starship init bash)"
Fish
Tambahkan skrip berikut pada baris akhir
~/.config/fish/config.fish
:# ~/.config/fish/config.fish starship init fish | source
Zsh
Tambahkan skrip berikut pada baris akhir
~/.zshrc
:# ~/.zshrc eval "$(starship init zsh)"
Powershell
Tambahkan skrip berikut pada baris akhir
Microsoft.PowerShell_profile.ps1
. Kamu dapat mengecek lokasi file tersebut dengan mencari tahu keberadaan variabel$PROFILE
di dalam PowerShell. Biasanya, lokasi file tersebut berada di~\Documents\PowerShell\Microsoft.PowerShell_profile.ps1
atau~/.config/powershell/Microsoft.PowerShell_profile.ps1
pada -Nix.Invoke-Expression (&starship init powershell)
Ion
Tambahkan skrip berikut pada baris akhir
~/.config/ion/initrc
:# ~/.config/ion/initrc eval $(starship init ion)
Elvish
::: warning
Hanya elvish v0.18 atau versi yang lebih baru yang mendapat dukungan pengembangan.
:::
Tambahkan skrip berikut pada baris akhir
~/.elvish/rc.elv
:# ~/.elvish/rc.elv eval (starship init elvish)
Tcsh
Tambahkan skrip berikut pada baris akhir
~/.tcshrc
:# ~/.tcshrc eval `starship init tcsh`
Nushell
::: warning
Hal ini dapat berubah di kemudian hari. Hanya Nushell v0.78+ yang menerima dukungan.
:::
Add the following to the end of your Nushell env file (find it by running
$nu.env-path
in Nushell):mkdir ~/.cache/starship starship init nu | save -f ~/.cache/starship/init.nu
Lalu tambahkan baris berikut di baris terakhir konfigurasi Nushell (temukan dengan menjalankan
$nu.config-path
):use ~/.cache/starship/init.nu
Xonsh
Tambahkan skrip berikut pada baris akhir
~/.xonshrc
:# ~/.xonshrc execx($(starship init xonsh))
Cmd
Kamu perlu menggunakan Clink (v1.2.30+) pada Cmd. Tambahkan baris berikut ke dalam
starship.lua
lalu taruhlah file berikut ke dalam direktori Clink:-- starship.lua load(io.popen('starship init cmd'):read("*a"))()