fnm
fnm copied to clipboard
Use "Node.js" instead of "Node" in messages
Is your feature request related to a problem? Please describe.
When running fnm use
, it uses the term Node
as follows:
$ fnm use 18
Using Node v18.20.2
Describe the solution you'd like
According to the most common words used by Node.js, it should be either node
or Node.js
$ fnm use 18
Using node v18.20.2
$ fnm use 18
Using Node.js v18.20.2
If we follow what's used by node executable, it should be latter, i.e. Node.js
$ cat throwError.js
throw Error("error");
$ node throwError.js
...
Node.js v18.20.2
Describe alternatives you've considered
N/A
Additional context
This is a minor issue, but aligns with most common word used by Node.js.
This would apply to other commands to, like install
Current behavior
$ fnm install 22
Installing Node v22.1.0 (arm64)
Expected behavior
$ fnm install 22
Installing Node.js v22.1.0 (arm64)