fnm
fnm copied to clipboard
Doesn't work on Alpine linux (musl)
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
I found a repo with Alpine(musl) support patch: https://github.com/shyim/fnm-alpine , and can we get Alpine official support?
we need to add another rust build for that. could be a nice contribution
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