{"id":5670,"date":"2024-02-16T12:06:19","date_gmt":"2024-02-16T18:06:19","guid":{"rendered":"https:\/\/www.incredigeek.com\/home\/?p=5670"},"modified":"2024-02-16T12:06:35","modified_gmt":"2024-02-16T18:06:35","slug":"install-node-js-18-on-almalinux-8","status":"publish","type":"post","link":"https:\/\/www.incredigeek.com\/home\/install-node-js-18-on-almalinux-8\/","title":{"rendered":"Install Node.js 18 on AlmaLinux 8"},"content":{"rendered":"\n<p class=\"wp-block-paragraph\">List available Node.js versions available.<\/p>\n\n\n\n<pre class=\"wp-block-preformatted\">dnf module list nodejs<\/pre>\n\n\n\n<pre class=\"wp-block-code has-dark-gray-background-color has-background\"><code class=\"\">AlmaLinux 8 - AppStream\nName           Stream           Profiles                                     Summary\nnodejs         10 [d][x]        common [d], development, minimal, s2i        Javascript runtime\nnodejs         12 [x]           common [d], development, minimal, s2i        Javascript runtime\nnodejs         14 [x]           common [d], development, minimal, s2i        Javascript runtime\nnodejs         16 [x]           common [d], development, minimal, s2i        Javascript runtime\nnodejs         18 [x]           common [d], development, minimal, s2i        Javascript runtime\nnodejs         20 [x]           common [d], development, minimal, s2i        Javascript runtime\n\nHint: [d]efault, [e]nabled, [x]disabled, [i]nstalled<\/code><\/pre>\n\n\n\n<p class=\"wp-block-paragraph\">As we can see above, nodejs 18 is disabled.  Enable it with<\/p>\n\n\n\n<pre class=\"wp-block-preformatted\">sudo dnf module enable nodejs:18<\/pre>\n\n\n\n<p class=\"wp-block-paragraph\">Now we can install with<\/p>\n\n\n\n<pre class=\"wp-block-preformatted\">sudo dnf install nodejs<\/pre>\n\n\n\n<p class=\"wp-block-paragraph\">You may need to uninstall older versions.<\/p>\n","protected":false},"excerpt":{"rendered":"<p>List available Node.js versions available. dnf module list nodejs As we can see above, nodejs 18 is disabled. Enable it with sudo dnf module enable nodejs:18 Now we can install with sudo dnf install nodejs You may need to uninstall &hellip; <a href=\"https:\/\/www.incredigeek.com\/home\/install-node-js-18-on-almalinux-8\/\">Continue reading <span class=\"meta-nav\">&rarr;<\/span><\/a><\/p>\n","protected":false},"author":1,"featured_media":0,"comment_status":"open","ping_status":"","sticky":false,"template":"","format":"standard","meta":{"footnotes":""},"categories":[3],"tags":[1389,17,1471,1436,1651,538,1648,1650],"class_list":["post-5670","post","type-post","status-publish","format-standard","hentry","category-linux","tag-almalinux","tag-centos","tag-node","tag-nodejs","tag-npm","tag-rhel","tag-rocky","tag-rocky-linux"],"_links":{"self":[{"href":"https:\/\/www.incredigeek.com\/home\/wp-json\/wp\/v2\/posts\/5670","targetHints":{"allow":["GET"]}}],"collection":[{"href":"https:\/\/www.incredigeek.com\/home\/wp-json\/wp\/v2\/posts"}],"about":[{"href":"https:\/\/www.incredigeek.com\/home\/wp-json\/wp\/v2\/types\/post"}],"author":[{"embeddable":true,"href":"https:\/\/www.incredigeek.com\/home\/wp-json\/wp\/v2\/users\/1"}],"replies":[{"embeddable":true,"href":"https:\/\/www.incredigeek.com\/home\/wp-json\/wp\/v2\/comments?post=5670"}],"version-history":[{"count":2,"href":"https:\/\/www.incredigeek.com\/home\/wp-json\/wp\/v2\/posts\/5670\/revisions"}],"predecessor-version":[{"id":5674,"href":"https:\/\/www.incredigeek.com\/home\/wp-json\/wp\/v2\/posts\/5670\/revisions\/5674"}],"wp:attachment":[{"href":"https:\/\/www.incredigeek.com\/home\/wp-json\/wp\/v2\/media?parent=5670"}],"wp:term":[{"taxonomy":"category","embeddable":true,"href":"https:\/\/www.incredigeek.com\/home\/wp-json\/wp\/v2\/categories?post=5670"},{"taxonomy":"post_tag","embeddable":true,"href":"https:\/\/www.incredigeek.com\/home\/wp-json\/wp\/v2\/tags?post=5670"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}