Direct support for .nvmrc?
See original GitHub issueIs it possible for avn to directly support the .nvmrc file I already have in my project?
Perhaps some logic could be incorporated to do an OR operation when searching (e.g. '.node-version' || '.nvmrc'). Having to duplicate that file is unfortunate because then both have to be in sync.
I’m currently symlinking the file but would love to not have to do that.
Thanks!
Issue Analytics
- State:
- Created 8 years ago
- Comments:11 (7 by maintainers)
Top Results From Across the Web
run `nvm use` automatically every time there's a .nvmrc file on ...
Calling 'nvm use' automatically in a directory with a .nvmrc file ... On the positive side, direnv supports a bunch of runtimes like...
Read more >Guarantee a Single Version of Node.js In All Environments
It supports a variety of Node.js version declaration files, including .nvmrc and the more widely-supported .node-version , among others.
Read more >Managing your Node.js version with nvm - CloudCannon
Usage .nvmrc. CloudCannon uses the LTS ( v16.13.0 ) version of Node.js by default. You can use nvm to select which node version...
Read more >Node Version Manager (NVM) on Steroids | by Nivrith
The script looks for a .nvmrc file in the directory and attempts to use ... If it finds the .nvmrc file, it uses...
Read more >per-project nvm support via nvmrc : WEB-23906 - YouTrack
nvm allows the installation of multiple concurrent version of Node and NPM. nvm provides a per-project Node version to be used by creating...
Read more >
Top Related Medium Post
No results found
Top Related StackOverflow Question
No results found
Troubleshoot Live Code
Lightrun enables developers to add logs, metrics and snapshots to live code - no restarts or redeploys required.
Start Free
Top Related Reddit Thread
No results found
Top Related Hackernoon Post
No results found
Top Related Tweet
No results found
Top Related Dev.to Post
No results found
Top Related Hashnode Post
No results found

This is now available in
avn 0.2andavn-nvm 0.2. Run the following, then restart your shell:@danawoodman I’d be happy to accept a pull request that accounts properly for all configurations of all shell types and config files as we’d expect them to be appropriately used across different platforms. Right now
avnsimply assumes the use of.bash_profileand/or.zshrc. Obviously this does not cover all cases properly.