Install NVM on the window is more easily than on the macOS I think. If your device’s OS is window, you can download the latest NVM installer from releases. I am going to show you how to install and use Node Version Manager for WINDOWS. nvmrc).replace ( v, ) However, thats a bit awkward and we can do a bit more so instead, we can create an alias to a function that calls the command instead: function callnvm. node -v will give 14.18. So the easiest solution to this is to use a simple Powershell command that performs an approximation of the command as follows: nvm use (Get-Content. If you already have one, delete it first. It sounds nice! Let’s install NVM! Window nvm install 14.18.1 (example the node version that you want or use lts for the latest) nvm use 14.18.1 Make sure the node version to be used is the one installed after nvm install. So if we choose the NVM, we can test if our application work well on different version of node.
0 Comments
Leave a Reply. |