Support comments in `.node-version`
Author: lonix1Created Sep 28, 2026Updated Sep 28, 2026
Comments are not supported in .node-version.
For example:
# foo bar baz
26.8.1currently produces:
Can't find an installed Node version matching # foo bar baz
26.8.1nvm supports comments in .nvmrc. It would be useful for fnm to support the same convention; it would also ease migration to fnm.
Source: Schniz/fnm