nodejs-has-flag on AUR (Arch User Repository)

Last updated: November 27,2024

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

$ yay -S nodejs-has-flag

* (Optional) Uninstall nodejs-has-flag on Arch using YAY

$ yay -Rns nodejs-has-flag

2. Manually Install "nodejs-has-flag" via AUR

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

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

b. Clone nodejs-has-flag's git locally

$ git clone https://aur.archlinux.org/nodejs-has-flag.git ~/nodejs-has-flag

c. Go to ~/nodejs-has-flag folder and install it

$ cd ~/nodejs-has-flag $ makepkg -si

3. Information about the nodejs-has-flag package on Arch User Repository (AUR)

ID: 818338
Name: nodejs-has-flag
PackageBaseID: 159807
PackageBase: nodejs-has-flag
Version: 4.0.0-1
Description: Check if argv has a specific flag.
URL: https://github.com/sindresorhus/has-flag
NumVotes: 0
Popularity: 0
OutOfDate:
Maintainer:
Submitter: andreafeletto
FirstSubmitted: 1605268018
LastModified: 1605268018
URLPath: /cgit/aur.git/snapshot/nodejs-has-flag.tar.gz