---
title: "Comment by David Rhoderick on \"5 Node Version Managers Compared – Which is Right for You?\" | Hashnode"
description: "I also thought you could use .nvmrc to set node version within a project. You can even have your bash/zsh/fish automatically run nvm use on cd commands so it au"
url: "https://hashnode.com/posts/5-node-version-managers-compared-which-is-right-for-you/66379632db80ecce54dcf8db/comment/663b1c2c374c73efe702a3cd"
---

[Discussion](https://hashnode.com/posts/5-node-version-managers-compared-which-is-right-for-you/66379632db80ecce54dcf8db)

Comment [5 Node Version Managers Compared – Which is Right for You?](https://hashnode.com/posts/5-node-version-managers-compared-which-is-right-for-you/66379632db80ecce54dcf8db)

[David Rhoderick](https://hashnode.com/@rhoded)

[May 8, 2024](https://hashnode.com/posts/5-node-version-managers-compared-which-is-right-for-you/66379632db80ecce54dcf8db/comment/663b1c2c374c73efe702a3cd)

I also thought you could use `.nvmrc` to set node version within a project. You can even have your bash/zsh/fish automatically run `nvm use` on `cd` commands so it automatically picks up the version.

While you say that n is even more limited, it _does_ work with fish, which is why I use it over all others and have for years. It also has some support for `.nvmrc` so that you can use `n auto` while others use `nvm use`.

[Pavel Romanov](https://hashnode.com/@pavlro)

[May 8, 2024](https://hashnode.com/posts/5-node-version-managers-compared-which-is-right-for-you/66379632db80ecce54dcf8db/comment/663b1c2c374c73efe702a3cd#reply-663b27f2e18eb092aff2d050)

Hey David, thank you for reading the article. I appreciate it!

You're right. We can use the `.nvmrc` file to declare the Node version for specific projects. And I'm mentioning it in the article.

You're also right that we can configure shell run run `nvm use` on `cd`. However, the reason why I decided not to include it in the article is that **it is not** maintained by the NVM team. To me, it looks more like a community attempt to fix the initial problem in the same way as `nvm-widows` doing it.

That's right, N does work with Fish as all of the other managers in this list except NVM by default.

Do you use it with `.nvmrc`? For me, the best part about N is the ability to detect the Node versions just based on the `engines` section of the `package.json` file.
