kube-ps1 on AUR (Arch User Repository)

Last updated: November 23,2024

1. Install "kube-ps1" effortlessly via AUR with the help of a helper(YAY)

a. Install YAY (https://github.com/Jguer/yay)

$ sudo pacman -S --needed git base-devel && git clone https://aur.archlinux.org/yay.git && cd yay && makepkg -si

b. Install kube-ps1 on Arch using YAY

$ yay -S kube-ps1

* (Optional) Uninstall kube-ps1 on Arch using YAY

$ yay -Rns kube-ps1

2. Manually Install "kube-ps1" via AUR

a. Ensure you have the base development tools and git installed with:

$ sudo pacman -S --needed base-devel git

b. Clone kube-ps1's git locally

$ git clone https://aur.archlinux.org/kube-ps1.git ~/kube-ps1

c. Go to ~/kube-ps1 folder and install it

$ cd ~/kube-ps1 $ makepkg -si

3. Information about the kube-ps1 package on Arch User Repository (AUR)

ID: 600657
Name: kube-ps1
PackageBaseID: 140917
PackageBase: kube-ps1
Version: 0.7.0-2
Description: A script that lets you add the current Kubernetes context and namespace configured on kubectl to your Bash/Zsh prompt
URL: https://github.com/jonmosco/kube-ps1
NumVotes: 0
Popularity: 0
OutOfDate: 1704287085
Maintainer: gde.satrigraha
Submitter: gde.satrigraha
FirstSubmitted: 1554234271
LastModified: 1554234949
URLPath: /cgit/aur.git/snapshot/kube-ps1.tar.gz