Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Can I pin a certain node version to a project? #1342

Open
nikitavoloboev opened this issue Dec 6, 2024 · 1 comment
Open

Can I pin a certain node version to a project? #1342

nikitavoloboev opened this issue Dec 6, 2024 · 1 comment

Comments

@nikitavoloboev
Copy link

i.e. for a certain repo like this one, I need node_20 but generally I want to have node_23. Can I make this work?

Perhaps with direnv or similar?

@ad-si
Copy link

ad-si commented Dec 19, 2024

You can add a .node-version file as described here: https://github.com/Schniz/fnm?tab=readme-ov-file#shell-setup

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants