scalafmt on AUR (Arch User Repository)

Last updated: May 21,2024

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

$ yay -S scalafmt

* (Optional) Uninstall scalafmt on Arch using YAY

$ yay -Rns scalafmt

2. Manually Install "scalafmt" via AUR

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

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

b. Clone scalafmt's git locally

$ git clone https://aur.archlinux.org/scalafmt.git ~/scalafmt

c. Go to ~/scalafmt folder and install it

$ cd ~/scalafmt $ makepkg -si

3. Information about the scalafmt package on Arch User Repository (AUR)

ID: 1184265
Name: scalafmt
PackageBaseID: 116336
PackageBase: scalafmt
Version: 3.6.1-2
Description: code formatter for the Scala programming language
URL: https://scalameta.org/scalafmt/
NumVotes: 9
Popularity: 3.0E-5
OutOfDate:
Maintainer: stick
Submitter: wookietreiber
FirstSubmitted: 1476950359
LastModified: 1671290866
URLPath: /cgit/aur.git/snapshot/scalafmt.tar.gz