![]() * New translations README.md (French) * New translations README.md (French) * New translations README.md (Russian) * 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 (Polish) * New translations README.md (Portuguese) * New translations README.md (Russian) * New translations README.md (Turkish) * 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 (Sorani (Kurdish)) * 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 (Polish) * New translations README.md (Portuguese) * New translations README.md (Turkish) * 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 (Sorani (Kurdish)) * New translations README.md (Ukrainian) * New translations README.md (Ukrainian) * New translations README.md (Norwegian) * New translations README.md (Norwegian) * New translations README.md (French) * New translations README.md (French) * New translations README.md (Spanish) * New translations README.md (German) * New translations README.md (Japanese) * New translations README.md (Polish) * New translations README.md (Spanish) * New translations README.md (Japanese) * New translations README.md (Polish) * New translations README.md (Turkish) * New translations README.md (Chinese Simplified) * New translations README.md (Portuguese, Brazilian) * New translations README.md (Indonesian) * New translations README.md (Chinese Simplified) * New translations README.md (Portuguese, Brazilian) * New translations README.md (Ukrainian) * New translations README.md (Ukrainian) * New translations README.md (Norwegian) * New translations README.md (French) * New translations README.md (Russian) * 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 (Polish) * New translations README.md (Portuguese) * New translations README.md (Turkish) * 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 (Sorani (Kurdish)) * New translations README.md (Ukrainian) * New translations README.md (Norwegian) * New translations README.md (Vietnamese) * New translations README.md (Vietnamese) * New translations README.md (Vietnamese) * New translations README.md (French) * New translations README.md (Russian) * 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 (Polish) * New translations README.md (Portuguese) * New translations README.md (Turkish) * 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 (Sorani (Kurdish)) * New translations README.md (Ukrainian) * New translations README.md (Norwegian) * New translations README.md (French) * New translations README.md (Spanish) * New translations README.md (Arabic) * New translations README.md (Polish) * New translations README.md (Spanish) * New translations README.md (French) * 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 (Polish) * New translations README.md (Portuguese) * New translations README.md (Russian) * New translations README.md (Turkish) * 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 (Sorani (Kurdish)) * New translations README.md (Ukrainian) * New translations README.md (Norwegian) * New translations README.md (Spanish) * New translations README.md (French) * New translations README.md (German) * 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 (Portuguese, Brazilian) * New translations README.md (Ukrainian) * New translations README.md (Ukrainian) * New translations README.md (Portuguese, Brazilian) * New translations README.md (Portuguese, Brazilian) * New translations README.md (Spanish) * New translations README.md (French) * 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 (Polish) * New translations README.md (Portuguese) * New translations README.md (Russian) * New translations README.md (Turkish) * 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 (Sorani (Kurdish)) * New translations README.md (Ukrainian) * New translations README.md (Norwegian) * New translations README.md (Portuguese, Brazilian) * New translations README.md (Ukrainian) |
||
---|---|---|
.. | ||
advanced-config | ||
config | ||
faq | ||
guide | ||
installing | ||
migrating-to-0.45.0 | ||
presets | ||
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"))()