Package Details: fnm-bin 1.31.1-3

Git Clone URL: https://aur.archlinux.org/fnm-bin.git (read-only, click to copy)
Package Base: fnm-bin
Description: Fast and simple Node.js version manager, built in Rust
Upstream URL: https://github.com/Schniz/fnm
Licenses: GPL3
Conflicts: fnm, fnm-git
Provides: fnm
Submitter: Ugzuzg
Maintainer: Ugzuzg
Last Packager: Ugzuzg
Votes: 12
Popularity: 0.170141
First Submitted: 2019-02-27 10:57 (UTC)
Last Updated: 2022-08-09 14:26 (UTC)

Dependencies (0)

Required by (0)

Sources (2)

Latest Comments

kschat commented on 2022-08-09 14:02 (UTC)

This package provides "nodejs", which makes it incompatible with any package that requires a LTS version of node (e.g. nodejs-lts-gallium). Due to this, I currently can't have fnm-bin and bitwarden installed at the same time.

Ugzuzg commented on 2022-01-30 19:01 (UTC)

@alumni, sure, thanks for the suggestions.

alumni commented on 2022-01-30 17:44 (UTC) (edited on 2022-01-30 18:51 (UTC) by alumni)

Nice that you update this package within hours of a release :)

There also are ARM builds of fnm available (e.g. aarch64 -> fnm-arm64.zip, armv7h -> fnm-arm32.zip). Could you please add them? Thanks!

Also, could you setup shell completions after install/upgrade? e.g.:

  • fnm completions --shell bash > /usr/share/bash-completion/completions/fnm
  • fnm completions --shell zsh > /usr/share/zsh/site-functions/_fnm
  • fnm completions --shell fish > /usr/share/fish/vendor_completions.d/fnm.fish

Later edit: completions are nicely done here: https://aur.archlinux.org/cgit/aur.git/tree/PKGBUILD?h=fnm

davvelsan commented on 2019-11-10 12:18 (UTC)

PKGBUILD for 1.16.0: https://pastebin.com/Cyt4CFjU

Two lines changed:

pkgver=1.16.0
md5sums=('33a7c8d8dc60ac4c8a278c5b2a4f64c6')

alexadusselo commented on 2019-08-12 21:12 (UTC)

Every day, these same people wonder how they will come up with the cash to get the business off the ground. http://www.megadede.one/

Marina89 commented on 2019-06-03 09:36 (UTC)

Your site is truly cool and this is an extraordinary moving article. https://happywheels3d.io

wezm commented on 2019-06-02 23:06 (UTC)

Here is a patch for 1.11.0. It also changes the source line to be tied to the version so that makepkg notices the version change. Previously it thought it had already downloaded the source (which was the previous version) and then the checksum would fail.

diff --git a/PKGBUILD b/PKGBUILD
index [`20f1399`](https://aur.archlinux.org/cgit/aur.git/commit/?h=fnm-bin&id=20f1399)..2f2a18e 100644
--- a/PKGBUILD
+++ b/PKGBUILD
@@ -1,7 +1,7 @@
 # Maintainer: Jarasłaŭ Viktorčyk <ugzuzg@gmail.com>
 pkgname=fnm-bin
 _pkgname=fnm
-pkgver=1.10.0
+pkgver=1.11.0
 pkgrel=1
 pkgdesc="Fast and simple Node.js version manager, built in ReasonML "
 arch=('x86_64')
@@ -9,8 +9,8 @@ url="<https://github.com/Schniz/fnm>"
 license=('GPL3')
 provides=('fnm')
 conflicts=('fnm-git')
-source=("<https://github.com/Schniz/fnm/releases/download/v>$pkgver/$_pkgname-linux.zip")
-md5sums=('1dd844b3146b471bcb17e02567090899')
+source=("$pkgver.tar.gz::$url/releases/download/v$pkgver/$_pkgname-linux.zip")
+sha256sums=('ab66a18da0b1423ec4e4b92832d99a6642f3ff3131937d7bade60aa0e0aa69c3')

 package() {
   install -Dm755 fnm-linux/fnm "$pkgdir/usr/bin/fnm"