Categories JavaScript Answers How to write a .nvmrc file which automatically change Node version? Post author By John Au-Yeung Post date September 6, 2022 No Comments on How to write a .nvmrc file which automatically change Node version? Spread the love To write a .nvmrc file which automatically change Node version, we put the Node version into the file. For instance, we we run $ node -v > .nvmrc to get the Node.js version with node -v and put it into the .nvmrc file with >. Related Posts How to write objects into file with Node.js?Sometimes, we want to write objects into file with Node.js. In this article, we'll look… How to write an array to file with Node.js?Sometimes, we want to write an array to file with Node.js. In this article, we'll… How to write in a text file without overwriting with Node.js?Sometimes, we want to write in a text file without overwriting with Node.js. In this… By John Au-Yeung Web developer specializing in React, Vue, and front end development. View Archive → ← How to send file in response with Node.js? → How to convert a Buffer into a ReadableStream in Node.js? Leave a Reply Cancel replyYour email address will not be published. Required fields are marked *Comment * Name * Email * Website Save my name, email, and website in this browser for the next time I comment. Current ye@r * Leave this field empty