ktlint-git on AUR (Arch User Repository)

Last updated: July 07,2024

1. Install "ktlint-git" 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 ktlint-git on Arch using YAY

$ yay -S ktlint-git

* (Optional) Uninstall ktlint-git on Arch using YAY

$ yay -Rns ktlint-git

2. Manually Install "ktlint-git" via AUR

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

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

b. Clone ktlint-git's git locally

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

c. Go to ~/ktlint-git folder and install it

$ cd ~/ktlint-git $ makepkg -si

3. Information about the ktlint-git package on Arch User Repository (AUR)

ID: 1245142
Name: ktlint-git
PackageBaseID: 143436
PackageBase: ktlint-git
Version: 0.49.0.r7.ge62e5698-1
Description: An anti-bikeshedding Kotlin linter with built-in formatter
URL: https://github.com/pinterest/ktlint
NumVotes: 3
Popularity: 0
OutOfDate:
Maintainer: nycex
Submitter: nycex
FirstSubmitted: 1563017004
LastModified: 1682247878
URLPath: /cgit/aur.git/snapshot/ktlint-git.tar.gz