Getting a mise warning when using .nvmrc

I’m getting warnings on multiple projects during deployment in the Initializing phase over my use of an .nvmrc file, all along these lines:

12:37:55 PM: mise WARN  deprecated [idiomatic_version_file_enable_tools]:
12:37:55 PM: Idiomatic version files like /opt/build/repo/.nvmrc are currently enabled by default. However, this will change in mise 2025.10.0 to instead default to disabled.
12:37:55 PM: You can remove this warning by explicitly enabling idiomatic version files for node with:
12:37:55 PM:     mise settings add idiomatic_version_file_enable_tools node
12:37:55 PM: You can disable idiomatic version files with:
12:37:55 PM:     mise settings add idiomatic_version_file_enable_tools "[]"
12:37:55 PM: See https://github.com/jdx/mise/discussions/4345 for more information.

I imagine that removing the .nvmrc file (adding it to .gitignore) and falling back to enivorment variables to set the node version would solve this.

However my preference would be to keep the .nvmrc and stop the warnings. Because this is occurring during the initalizing period I can’t head it off by adding the suggested mise settings add ... command into my build command, is there any way of achieving this?!

You can ignore the warnings. There’s nothing important required to do about it at the moment.

FWIW, the contents of my .nvmrc were:

>= 22

and it caused my deploy to fail with:

4:19:06 PM: Failed during stage 'Install dependencies': dependency_installation script returned non-zero exit code: 1
4:19:06 PM: Version '>=22' not found - try `nvm ls-remote` to browse available versions.
4:19:06 PM: Failed to install Node.js version '>=22'
4:19:06 PM: Failing build: Failed to install dependencies

Deleting the .nvmrc allowed the build to succeed, so I don’t think the errors are completely benign.

@dustypomerleau

.nvmrc doesn’t support >=22 syntax.

You should use an exact version like v22 or v22.X.X