fnm icon indicating copy to clipboard operation
fnm copied to clipboard

Update github releases artifact names

Open alshdavid opened this issue 8 months ago • 0 comments

Hi, I use Github releases as my source of truth when installing fnm - especially for automation scripts and such.

Could we update the release artifact names to be more consistent? Currently they are:

Image

Would be great if they were

fnm-{os}-{arch}

With the following artifacts being made available:

# Tier 1 (needed)
fnm-linux-amd64.tar.gz
fnm-linux-arm64.tar.gz
fnm-macos-arm64.tar.gz
fnm-windows-amd64.tar.gz

# Tier 2 (harder to build, limited users, optional to include)
fnm-linux-arm.tar.gz
fnm-macos-amd64.tar.gz
fnm-windows-arm64.tar.gz

That way I could install/update fnm with a simple script:

rm -rf "$HOME/.local/fnm"
mkdir -p "$HOME/.local/fnm"

curl -L "https://github.com/Schniz/fnm/releases/download/v1.38.1/fnm-linux-amd64.tar.gz" | tar -xcvf - -C "$HOME/.local/fnm"

Thanks 🙏

alshdavid avatar May 08 '25 01:05 alshdavid