fnm icon indicating copy to clipboard operation
fnm copied to clipboard

Doesn't work on Alpine linux (musl)

Open timsofteng opened this issue 2 years ago • 11 comments

I've installed it as guide described.

>  curl -fsSL https://fnm.vercel.app/install | zsh
 
>  fnm install 16
 
>   ./.fnm/node-versions/v16.14.0/installation/bin/node -v
zsh: no such file or directory: ./.fnm/node-versions/v16.14.0/installation/bin/node

timsofteng avatar Mar 10 '22 08:03 timsofteng

I found a repo with Alpine(musl) support patch: https://github.com/shyim/fnm-alpine , and can we get Alpine official support?

everyx avatar Jul 27 '22 02:07 everyx

we need to add another rust build for that. could be a nice contribution

Schniz avatar Aug 16 '22 13:08 Schniz

I just update fnm alpine version on my repo: https://github.com/vanaware/fnm-alpine
You may install like this:

curl -fsSL https://vanaware.github.io/fnm-alpine/install.sh | ash

No needed to change rust build, basicaly just needed to change node source files to this repo:
"https://unofficial-builds.nodejs.org/download/release/"
and use musl version of node.

Known bugs:

  • not able to install from "latest" keyword you must provide version number like this: fnm install 20

Edit:

  • updated to version 1.35.1

arvati avatar Apr 29 '23 21:04 arvati