{"id":1409,"date":"2023-03-19T14:50:47","date_gmt":"2023-03-19T05:50:47","guid":{"rendered":"https:\/\/www.santoshkori.com\/blog\/?p=1409"},"modified":"2023-03-19T15:33:01","modified_gmt":"2023-03-19T06:33:01","slug":"how-to-use-nodejs-specific-version","status":"publish","type":"post","link":"https:\/\/www.santoshkori.com\/blog\/how-to-use-nodejs-specific-version\/","title":{"rendered":"How to use nodejs specific version"},"content":{"rendered":"\n<p>Many times due to project or required platform requirements we have to use a specific version of nodejs.<\/p>\n\n\n\n<p>Here you can find list of node versions <a href=\"https:\/\/nodejs.org\/en\/download\/releases\" target=\"_blank\" rel=\"noreferrer noopener\">https:\/\/nodejs.org\/en\/download\/releases<\/a><\/p>\n\n\n\n<p>So below is an example where you can install and use a specific nodejs version<\/p>\n\n\n\n<p>One way is to use NVM, the <strong>Node Version Manager<\/strong>.<\/p>\n\n\n\n<p>Use the following command to get nvm<\/p>\n\n\n\n<p><strong>nvm install 14.21.3<\/strong> Download and install a eg. nvm i 14.21.3<br><strong>nvm ls<\/strong>  List versions (installed versions are blue)<br><strong>nvm use<\/strong> 14.21.3 Modify PATH to use<\/p>\n\n\n\n<p><\/p>\n\n\n\n<p class=\"has-medium-font-size\" id=\"h2\">Option 2<\/p>\n\n\n\n<p>Uninstall nodejs from window control panel<\/p>\n\n\n\n<p>Download specific nodejs version from archive <\/p>\n\n\n\n<p><a href=\"https:\/\/nodejs.org\/en\/blog\/release\/v14.21.3\" target=\"_blank\" rel=\"noopener\">https:\/\/nodejs.org\/en\/blog\/release\/v14.21.3<\/a><\/p>\n\n\n\n<p>Install nodejs executable file and use it<\/p>\n","protected":false},"excerpt":{"rendered":"<p>Many times due to project or required platform requirements we have to use a specific version of nodejs. Here you can find list of node versions https:\/\/nodejs.org\/en\/download\/releases So below is an example where you can install and use a specific nodejs version One way is to use NVM, the Node Version Manager. Use the following [&hellip;]<\/p>\n","protected":false},"author":1,"featured_media":0,"comment_status":"closed","ping_status":"closed","sticky":false,"template":"","format":"standard","meta":{"footnotes":""},"categories":[752],"tags":[751,747,750],"class_list":["post-1409","post","type-post","status-publish","format-standard","hentry","category-development","tag-development","tag-node","tag-nodejs"],"_links":{"self":[{"href":"https:\/\/www.santoshkori.com\/blog\/wp-json\/wp\/v2\/posts\/1409","targetHints":{"allow":["GET"]}}],"collection":[{"href":"https:\/\/www.santoshkori.com\/blog\/wp-json\/wp\/v2\/posts"}],"about":[{"href":"https:\/\/www.santoshkori.com\/blog\/wp-json\/wp\/v2\/types\/post"}],"author":[{"embeddable":true,"href":"https:\/\/www.santoshkori.com\/blog\/wp-json\/wp\/v2\/users\/1"}],"replies":[{"embeddable":true,"href":"https:\/\/www.santoshkori.com\/blog\/wp-json\/wp\/v2\/comments?post=1409"}],"version-history":[{"count":3,"href":"https:\/\/www.santoshkori.com\/blog\/wp-json\/wp\/v2\/posts\/1409\/revisions"}],"predecessor-version":[{"id":1412,"href":"https:\/\/www.santoshkori.com\/blog\/wp-json\/wp\/v2\/posts\/1409\/revisions\/1412"}],"wp:attachment":[{"href":"https:\/\/www.santoshkori.com\/blog\/wp-json\/wp\/v2\/media?parent=1409"}],"wp:term":[{"taxonomy":"category","embeddable":true,"href":"https:\/\/www.santoshkori.com\/blog\/wp-json\/wp\/v2\/categories?post=1409"},{"taxonomy":"post_tag","embeddable":true,"href":"https:\/\/www.santoshkori.com\/blog\/wp-json\/wp\/v2\/tags?post=1409"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}