GitXplorerGitXplorer
g

fnmx

public
0 stars
0 forks
0 issues

Commits

List of commits on branch main.
Unverified
1fae0f77a1e159c2d2c69629c1136f12c12f0bdb

add arm64 support for windows

ggrll committed 11 days ago
Unverified
d28a9229295168f299527f1cf3a09c7cc0608668

we need stdio to be only dedicated to the subprocess so redirect everything else to stderr

ggrll committed 16 days ago
Unverified
f6a73e0d05295fdfc55b5be17a5d9ba174c506ce

Merge remote-tracking branch 'origin/main'

ggrll committed 16 days ago
Unverified
409158e371acd6d329f04f2c8f5444638c77466d

initial commit

ggrll committed 16 days ago
Verified
89895bdd34346194ea7497c8ac5962a271dabdf1

Initial commit

ggrll committed 16 days ago

README

The README file for this repository.

fnmx

A lightweight cross-platform wrapper for fnm that provides uvx-like functionality.

It wraps fnm exec and fnm install to make sure the right node version is used and installed before executing in fnm context.

It needs fnm installed. Preferably it uses an fnm binary in the same folder but falls back to fnm in PATH if necessary.

Installation

Download the appropriate binary for your system from the releases page:

  • macOS ARM64 (Apple Silicon): fnmx-darwin-arm64
  • macOS Intel: fnmx-darwin-amd64
  • Windows: fnmx-windows-amd64.exe

Make the binary executable (macOS):

chmod +x fnmx-darwin-*

Usage

fnmx <node-version> <command>

For example:

fnmx v22 npm run dev

This will make sure node v22 is installed and then run npm run dev with the right node verison.