Node How to write and use your current Node Version in your current Project.
Create a '.nvmrc' file in your Node project folder.
Write which version you want to fix. In this example, I'll write version 16.14.2.
Now save a .nvmrc file and run 'nvm use' to change a node version.
If you didn't install the node version, nvm will tell you to install it. run 'nvm instll [node version]' and it will install it.
After install a node version, now you could run 'nvm use' in your project folder. nvm will search a .nvmrc file and apply a node version to your current project.
댓글
댓글 쓰기