{"id":4279,"date":"2026-11-08T10:44:00","date_gmt":"2026-11-08T10:44:00","guid":{"rendered":"https:\/\/www.ucartz.com\/blog\/install-node-js-windows-linux\/"},"modified":"2026-11-09T22:05:26","modified_gmt":"2026-11-09T22:05:26","slug":"install-node-js-windows-linux","status":"publish","type":"post","link":"https:\/\/www.ucartz.com\/blog\/install-node-js-windows-linux\/","title":{"rendered":"How to Install Node.js on Windows and a Linux Server"},"content":{"rendered":"\n<p class=\"wp-block-paragraph\">On Windows, download the LTS Windows Installer (<code>.msi<\/code>) from nodejs.org, run it with the default options, then open a new Command Prompt and type <code>node -v<\/code> and <code>npm -v<\/code> to check. On a Linux server or VPS you have three choices: your distribution&#8217;s own package (easy, but often an older Node.js), the NodeSource repository (current versions through <code>apt<\/code> or <code>dnf<\/code>) or nvm (per-user, several versions side by side). At the time of writing the LTS release is Node.js 24.21.0, which comes with npm 11.19.0. We installed it all three ways on Linux in Docker and checked the Windows options against the Node.js project&#8217;s own installer files.<\/p>\n\n\n\n<figure class=\"wp-block-image size-large\"><img loading=\"lazy\" decoding=\"async\" width=\"1024\" height=\"168\" src=\"https:\/\/www.ucartz.com\/blog\/wp-content\/uploads\/2026\/11\/install-node-js-windows-linux-screenshot-1024x168.png\" alt=\"Terminal showing node --version returning v20.19.2\" class=\"wp-image-4281\" srcset=\"https:\/\/www.ucartz.com\/blog\/wp-content\/uploads\/2026\/11\/install-node-js-windows-linux-screenshot-1024x168.png 1024w, https:\/\/www.ucartz.com\/blog\/wp-content\/uploads\/2026\/11\/install-node-js-windows-linux-screenshot-300x49.png 300w, https:\/\/www.ucartz.com\/blog\/wp-content\/uploads\/2026\/11\/install-node-js-windows-linux-screenshot-768x126.png 768w, https:\/\/www.ucartz.com\/blog\/wp-content\/uploads\/2026\/11\/install-node-js-windows-linux-screenshot.png 1100w\" sizes=\"auto, (max-width: 1024px) 100vw, 1024px\" \/><figcaption class=\"wp-element-caption\">Checking the installed Node.js version on a Debian 13 server<\/figcaption><\/figure>\n\n\n\n<h2 class=\"wp-block-heading\">Which version should you install?<\/h2>\n\n\n\n<p class=\"wp-block-paragraph\">Node.js publishes two kinds of release. <strong>LTS<\/strong> (long-term support) lines are the ones to use for anything you run in production. <strong>Current<\/strong> gets new features first and becomes the next LTS later. The <a href=\"https:\/\/github.com\/nodejs\/Release\" target=\"_blank\" rel=\"noopener noreferrer\">Node.js release schedule<\/a> is the source of truth; at the time of writing it looks like this:<\/p>\n\n\n\n<figure class=\"wp-block-table\"><table><thead><tr><th>Line<\/th><th>Status<\/th><th>What to do<\/th><\/tr><\/thead><tbody><tr><td>Node.js 26<\/td><td>Current, scheduled to become the next LTS<\/td><td>Fine for testing new features<\/td><\/tr><tr><td>Node.js 24 (Krypton)<\/td><td>LTS<\/td><td>Install this for new projects<\/td><\/tr><tr><td>Node.js 22 (Jod)<\/td><td>Maintenance LTS, security fixes only<\/td><td>Plan an upgrade<\/td><\/tr><tr><td>Node.js 20 and older<\/td><td>End of life<\/td><td>Upgrade: no more security fixes from the Node.js project<\/td><\/tr><\/tbody><\/table><\/figure>\n\n\n\n<p class=\"wp-block-paragraph\">If an application you use says which Node.js version it needs, follow that instead.<\/p>\n\n\n\n<h2 class=\"wp-block-heading\">Install Node.js on Windows<\/h2>\n\n\n\n<p class=\"wp-block-paragraph\">Node.js 24 supports 64-bit Windows 10 and Windows Server 2016 or later on x64 machines, according to the project&#8217;s <a href=\"https:\/\/github.com\/nodejs\/node\/blob\/v24.x\/BUILDING.md\" target=\"_blank\" rel=\"noopener noreferrer\">platform list<\/a>. Installers are published for x64 and ARM64.<\/p>\n\n\n\n<ol class=\"wp-block-list\">\n<li>Go to <a href=\"https:\/\/nodejs.org\/en\/download\" target=\"_blank\" rel=\"noopener noreferrer\">nodejs.org\/en\/download<\/a>, pick the LTS version, Windows and your processor (x64 for most PCs and servers), and download the Windows Installer (<code>.msi<\/code>).<\/li>\n\n\n\n<li>Run the file, accept the licence and keep the suggested destination folder. On the <strong>Custom Setup<\/strong> screen, keep the defaults: Node.js runtime, npm package manager and <strong>Add to PATH<\/strong>. The PATH option is what lets you type <code>node<\/code> in any terminal.<\/li>\n\n\n\n<li>The installer then shows a <strong>Tools for Native Modules<\/strong> page. Its checkbox installs Python and the Visual Studio Build Tools, which some npm packages need to compile C or C++ code, and it also installs Chocolatey. Leave it unticked unless a package you use needs compiling; you can add the tools later.<\/li>\n\n\n\n<li>When the installer finishes, open a <strong>new<\/strong> Command Prompt or PowerShell window (existing windows still have the old PATH) and check:<\/li>\n<\/ol>\n\n\n\n<pre class=\"wp-block-code\"><code>node -v\nnpm -v<\/code><\/pre>\n\n\n\n<p class=\"wp-block-paragraph\">For the 24.21.0 LTS release, the Node.js download page gives the expected answers as <code>v24.21.0<\/code> and <code>11.19.0<\/code>.<\/p>\n\n\n\n<h3 class=\"wp-block-heading\">Other ways to install on Windows<\/h3>\n\n\n\n<ul class=\"wp-block-list\">\n<li><strong>WinGet:<\/strong> <code>winget install OpenJS.NodeJS.LTS<\/code> installs the LTS package from the Windows Package Manager repository. Microsoft&#8217;s <a href=\"https:\/\/learn.microsoft.com\/en-us\/windows\/package-manager\/winget\/\" target=\"_blank\" rel=\"noopener noreferrer\">WinGet documentation<\/a> says the tool is available on Windows 10 version 1809 or later, Windows 11 and Windows Server 2025, so on older Windows Server versions use the <code>.msi<\/code>.<\/li>\n\n\n\n<li><strong>Chocolatey:<\/strong> nodejs.org offers <code>choco install nodejs --version=\"24.21.0\"<\/code> once Chocolatey is installed.<\/li>\n\n\n\n<li><strong>Several versions side by side:<\/strong> the nvm tool used on Linux does not run in a normal Windows command prompt. Its <a href=\"https:\/\/github.com\/nvm-sh\/nvm\" target=\"_blank\" rel=\"noopener noreferrer\">README<\/a> says it can work through WSL, Git Bash or Cygwin, and points to separate Windows alternatives such as nvm-windows, which it does not support itself.<\/li>\n<\/ul>\n\n\n\n<p class=\"wp-block-paragraph\">If PowerShell refuses to run <code>npm<\/code> with a message that running scripts is disabled, the cause is PowerShell&#8217;s execution policy: Node.js ships <code>npm.ps1<\/code> alongside <code>npm.cmd<\/code>, and the Restricted policy blocks <code>.ps1<\/code> scripts. Either use Command Prompt, or allow local scripts for your own account as described in Microsoft&#8217;s <a href=\"https:\/\/learn.microsoft.com\/en-us\/powershell\/module\/microsoft.powershell.core\/about\/about_execution_policies\" target=\"_blank\" rel=\"noopener noreferrer\">about_Execution_Policies<\/a>:<\/p>\n\n\n\n<pre class=\"wp-block-code\"><code>Set-ExecutionPolicy -ExecutionPolicy RemoteSigned -Scope CurrentUser<\/code><\/pre>\n\n\n\n<h2 class=\"wp-block-heading\">Install Node.js on a Linux server or VPS<\/h2>\n\n\n\n<p class=\"wp-block-paragraph\">Here is what each method gave us on fresh containers:<\/p>\n\n\n\n<figure class=\"wp-block-table\"><table><thead><tr><th>Method<\/th><th>Result<\/th><th>Good for<\/th><\/tr><\/thead><tbody><tr><td>Ubuntu 26.04.1 LTS, <code>apt install nodejs npm<\/code><\/td><td>Node.js 22.22.1, npm 9.2.0<\/td><td>Quick installs where the version does not matter<\/td><\/tr><tr><td>Debian 13, <code>apt install nodejs<\/code><\/td><td>Node.js 20.19.2<\/td><td>Only if your app still needs Node.js 20<\/td><\/tr><tr><td>AlmaLinux 10, <code>dnf install nodejs npm<\/code><\/td><td>Node.js 22.23.2, npm 10.9.8<\/td><td>Quick installs on RHEL-type servers<\/td><\/tr><tr><td>NodeSource repository on Debian 13<\/td><td>Node.js 24.21.0, npm 11.19.0<\/td><td>A current LTS for the whole server, updated with <code>apt<\/code><\/td><\/tr><tr><td>nvm on Debian 13<\/td><td>Node.js 24.21.0, npm 11.19.0<\/td><td>Developers, or apps that need different versions<\/td><\/tr><\/tbody><\/table><\/figure>\n\n\n\n<p class=\"wp-block-paragraph\">Note that Ubuntu packages npm separately, and the version it ships is older than the npm that comes with Node.js itself.<\/p>\n\n\n\n<h3 class=\"wp-block-heading\">Option 1: NodeSource (one version for the whole server)<\/h3>\n\n\n\n<p class=\"wp-block-paragraph\">NodeSource publishes Node.js packages for Debian, Ubuntu and RHEL-type systems. On Debian or Ubuntu, as root, following the <a href=\"https:\/\/github.com\/nodesource\/distributions\" target=\"_blank\" rel=\"noopener noreferrer\">NodeSource instructions<\/a>:<\/p>\n\n\n\n<pre class=\"wp-block-code\"><code>apt install -y curl ca-certificates\ncurl -fsSL https:\/\/deb.nodesource.com\/setup_24.x -o nodesource_setup.sh\nbash nodesource_setup.sh\napt install -y nodejs\nnode -v<\/code><\/pre>\n\n\n\n<p class=\"wp-block-paragraph\">The script adds a repository file pointing to <code>https:\/\/deb.nodesource.com\/node_24.x<\/code> and printed <code>Repository configured successfully<\/code>. After that, <code>node -v<\/code> returned <code>v24.21.0<\/code>, and later updates arrive with your normal <code>apt upgrade<\/code>. You can read the script before running it; it is a good habit with any script you download.<\/p>\n\n\n\n<h3 class=\"wp-block-heading\">Option 2: nvm (per user, several versions)<\/h3>\n\n\n\n<p class=\"wp-block-paragraph\">These are the commands nodejs.org gives for nvm:<\/p>\n\n\n\n<pre class=\"wp-block-code\"><code>curl -o- https:\/\/raw.githubusercontent.com\/nvm-sh\/nvm\/v0.40.8\/install.sh | bash\n\\. \"$HOME\/.nvm\/nvm.sh\"\nnvm install 24\nnode -v<\/code><\/pre>\n\n\n\n<p class=\"wp-block-paragraph\">nvm downloaded the official build, reported <code>Checksums matched!<\/code> and <code>Now using node v24.21.0 (npm v11.19.0)<\/code>. <code>nvm install 26<\/code> added the Current line next to it, and <code>nvm use 24<\/code> switches back. Keep one thing in mind: nvm installs Node.js inside your home directory, here <code>\/root\/.nvm\/versions\/node\/v24.21.0\/bin\/node<\/code>. Other users and system services do not see it unless you give them that full path.<\/p>\n\n\n\n<h2 class=\"wp-block-heading\">Test it with a tiny app<\/h2>\n\n\n\n<pre class=\"wp-block-code\"><code>const http = require(\"node:http\");\n\nhttp.createServer((req, res) =&gt; {\n  res.end(\"Hello from Node.js \" + process.version + \"\\n\");\n}).listen(3000, \"127.0.0.1\", () =&gt; console.log(\"Listening on http:\/\/127.0.0.1:3000\"));<\/code><\/pre>\n\n\n\n<p class=\"wp-block-paragraph\">Save it as <code>app.js<\/code>, run <code>node app.js<\/code>, and in a second terminal <code>curl http:\/\/127.0.0.1:3000\/<\/code> answered <code>Hello from Node.js v24.21.0<\/code>. <code>npm init -y<\/code> followed by <code>npm install express<\/code> also worked and reported <code>found 0 vulnerabilities<\/code>, so npm could reach the registry.<\/p>\n\n\n\n<p class=\"wp-block-paragraph\">On a server, an app started from your terminal stops when you log out. Run it as a service instead (<a href=\"https:\/\/www.ucartz.com\/clients\/knowledgebase\/1194\/How-to-Run-a-Custom-Script-as-a-systemd-Service.html\">how to run a script as a systemd service<\/a>) or in a container with <a href=\"https:\/\/www.ucartz.com\/clients\/knowledgebase\/9291\/Docker-Compose-Basics-Run-Multi-Container-Apps-with-compose.yaml.html\">Docker Compose<\/a>, and put a web server such as nginx in front of it for HTTPS. If nginx shows <a href=\"https:\/\/www.ucartz.com\/clients\/knowledgebase\/9300\/502-Bad-Gateway-Causes-and-How-to-Fix-It-Nginx-PHP-FPM-and-Cloudflare.html\">502 Bad Gateway<\/a>, the Node.js app behind it is usually not running.<\/p>\n\n\n\n<h2 class=\"wp-block-heading\">Troubleshooting<\/h2>\n\n\n\n<ul class=\"wp-block-list\">\n<li><strong>&#8220;node&#8221; is not recognised on Windows:<\/strong> open a new terminal. If it still fails, run the installer again and make sure Add to PATH is selected.<\/li>\n\n\n\n<li><strong><code>node: command not found<\/code> after installing nvm:<\/strong> the installer adds nvm to your shell&#8217;s startup file, and its own message says to close and reopen your terminal, or load it with <code>\\. \"$HOME\/.nvm\/nvm.sh\"<\/code>.<\/li>\n\n\n\n<li><strong>A systemd service cannot find node:<\/strong> it does not read your shell setup. Use the full path from <code>which node<\/code> in the service file, or install Node.js system-wide with NodeSource.<\/li>\n\n\n\n<li><strong>Old version after installing:<\/strong> check <code>which -a node<\/code> on Linux or <code>where node<\/code> on Windows; two copies on the PATH is a common cause.<\/li>\n<\/ul>\n\n\n\n<p class=\"wp-block-paragraph\">A Node.js app is a program that has to keep running on the server. A <a href=\"https:\/\/www.ucartz.com\/kvm-vps\">KVM VPS<\/a> gives you full root access to install Node.js any of these ways, run it under systemd and put nginx in front. If you would like the set-up done for you, our <a href=\"https:\/\/www.ucartz.com\/hire-an-expert\">engineers are available by the hour<\/a>.<\/p>\n\n","protected":false},"excerpt":{"rendered":"<p>Install Node.js on Windows with the official installer or WinGet, and on a Linux server with apt, NodeSource or nvm, with tested versions and fixes.<\/p>\n","protected":false},"author":4,"featured_media":4280,"comment_status":"closed","ping_status":"closed","sticky":false,"template":"","format":"standard","meta":{"footnotes":""},"categories":[400,70],"tags":[1087,920,995,1154,1089,1153,399],"class_list":["post-4279","post","type-post","status-publish","format-standard","has-post-thumbnail","hentry","category-tutorials","category-vps-hosting","tag-javascript","tag-linux-vps","tag-node-js","tag-nodesource","tag-npm","tag-nvm","tag-windows"],"yoast_head":"<!-- This site is optimized with the Yoast SEO plugin v28.8 - https:\/\/yoast.com\/product\/yoast-seo-wordpress\/ -->\n<title>How to Install Node.js on Windows and a Linux\u2026 | Ucartz<\/title>\n<meta name=\"description\" content=\"Install Node.js on Windows with the official installer or WinGet, and on a Linux server with apt, NodeSource or nvm, with tested versions and fixes.\" \/>\n<meta name=\"robots\" content=\"index, follow, max-snippet:-1, max-image-preview:large, max-video-preview:-1\" \/>\n<link rel=\"canonical\" href=\"https:\/\/www.ucartz.com\/blog\/install-node-js-windows-linux\/\" \/>\n<meta property=\"og:locale\" content=\"en_US\" \/>\n<meta property=\"og:type\" content=\"article\" \/>\n<meta property=\"og:title\" content=\"| Ucartz Blog | Ucartz\" \/>\n<meta property=\"og:description\" content=\"Install Node.js on Windows with the official installer or WinGet, and on a Linux server with apt, NodeSource or nvm, with tested versions and fixes.\" \/>\n<meta property=\"og:url\" content=\"https:\/\/www.ucartz.com\/blog\/install-node-js-windows-linux\/\" \/>\n<meta property=\"og:site_name\" content=\"Ucartz Blog\" \/>\n<meta property=\"article:publisher\" content=\"https:\/\/www.facebook.com\/UcartzOnline\" \/>\n<meta property=\"article:published_time\" content=\"2026-11-08T10:44:00+00:00\" \/>\n<meta property=\"article:modified_time\" content=\"2026-11-09T22:05:26+00:00\" \/>\n<meta property=\"og:image\" content=\"https:\/\/www.ucartz.com\/blog\/wp-content\/uploads\/2026\/11\/install-node-js-windows-linux.jpg\" \/>\n\t<meta property=\"og:image:width\" content=\"1200\" \/>\n\t<meta property=\"og:image:height\" content=\"630\" \/>\n\t<meta property=\"og:image:type\" content=\"image\/jpeg\" \/>\n<meta name=\"author\" content=\"Ria Febin\" \/>\n<meta name=\"twitter:card\" content=\"summary_large_image\" \/>\n<meta name=\"twitter:title\" content=\"| Ucartz Blog | Ucartz\" \/>\n<meta name=\"twitter:creator\" content=\"@ucartz\" \/>\n<meta name=\"twitter:site\" content=\"@ucartz\" \/>\n<meta name=\"twitter:label1\" content=\"Written by\" \/>\n\t<meta name=\"twitter:data1\" content=\"Ria Febin\" \/>\n\t<meta name=\"twitter:label2\" content=\"Est. reading time\" \/>\n\t<meta name=\"twitter:data2\" content=\"6 minutes\" \/>\n<script type=\"application\/ld+json\" class=\"yoast-schema-graph\">{\"@context\":\"https:\\\/\\\/schema.org\",\"@graph\":[{\"@context\":\"https:\\\/\\\/schema.org\",\"@type\":\"Article\",\"@id\":\"https:\\\/\\\/www.ucartz.com\\\/blog\\\/install-node-js-windows-linux\\\/#article\",\"isPartOf\":{\"@id\":\"https:\\\/\\\/www.ucartz.com\\\/blog\\\/install-node-js-windows-linux\\\/\"},\"author\":{\"name\":\"Ria Febin\",\"@id\":\"https:\\\/\\\/www.ucartz.com\\\/blog\\\/#\\\/schema\\\/person\\\/2d964b1b8325f8a5e55bed0d1e0fa1d0\"},\"headline\":\"How to Install Node.js on Windows and a Linux Server\",\"datePublished\":\"2026-11-08T10:44:00+00:00\",\"dateModified\":\"2026-11-09T22:05:26+00:00\",\"mainEntityOfPage\":{\"@id\":\"https:\\\/\\\/www.ucartz.com\\\/blog\\\/install-node-js-windows-linux\\\/\"},\"wordCount\":1074,\"publisher\":{\"@id\":\"https:\\\/\\\/www.ucartz.com\\\/#organization\"},\"image\":{\"@id\":\"https:\\\/\\\/www.ucartz.com\\\/blog\\\/install-node-js-windows-linux\\\/#primaryimage\"},\"thumbnailUrl\":\"https:\\\/\\\/www.ucartz.com\\\/blog\\\/wp-content\\\/uploads\\\/2026\\\/11\\\/install-node-js-windows-linux.jpg\",\"keywords\":[\"javascript\",\"linux vps\",\"node.js\",\"nodesource\",\"npm\",\"nvm\",\"windows\"],\"articleSection\":[\"Tutorials\",\"VPS Hosting\"],\"inLanguage\":\"en-US\"},{\"@context\":\"https:\\\/\\\/schema.org\",\"@type\":\"WebPage\",\"@id\":\"https:\\\/\\\/www.ucartz.com\\\/blog\\\/install-node-js-windows-linux\\\/\",\"url\":\"https:\\\/\\\/www.ucartz.com\\\/blog\\\/install-node-js-windows-linux\\\/\",\"name\":\"| Ucartz Blog | Ucartz\",\"isPartOf\":{\"@id\":\"https:\\\/\\\/www.ucartz.com\\\/blog\\\/#website\"},\"primaryImageOfPage\":{\"@id\":\"https:\\\/\\\/www.ucartz.com\\\/blog\\\/install-node-js-windows-linux\\\/#primaryimage\"},\"image\":{\"@id\":\"https:\\\/\\\/www.ucartz.com\\\/blog\\\/install-node-js-windows-linux\\\/#primaryimage\"},\"thumbnailUrl\":\"https:\\\/\\\/www.ucartz.com\\\/blog\\\/wp-content\\\/uploads\\\/2026\\\/11\\\/install-node-js-windows-linux.jpg\",\"datePublished\":\"2026-11-08T10:44:00+00:00\",\"dateModified\":\"2026-11-09T22:05:26+00:00\",\"description\":\"Install Node.js on Windows with the official installer or WinGet, and on a Linux server with apt, NodeSource or nvm, with tested versions and fixes.\",\"breadcrumb\":{\"@id\":\"https:\\\/\\\/www.ucartz.com\\\/blog\\\/install-node-js-windows-linux\\\/#breadcrumb\"},\"inLanguage\":\"en-US\",\"potentialAction\":[{\"@type\":\"ReadAction\",\"target\":[\"https:\\\/\\\/www.ucartz.com\\\/blog\\\/install-node-js-windows-linux\\\/\"]}]},{\"@context\":\"https:\\\/\\\/schema.org\",\"@type\":\"ImageObject\",\"inLanguage\":\"en-US\",\"@id\":\"https:\\\/\\\/www.ucartz.com\\\/blog\\\/install-node-js-windows-linux\\\/#primaryimage\",\"url\":\"https:\\\/\\\/www.ucartz.com\\\/blog\\\/wp-content\\\/uploads\\\/2026\\\/11\\\/install-node-js-windows-linux.jpg\",\"contentUrl\":\"https:\\\/\\\/www.ucartz.com\\\/blog\\\/wp-content\\\/uploads\\\/2026\\\/11\\\/install-node-js-windows-linux.jpg\",\"width\":1200,\"height\":630,\"caption\":\"How to Install Node.js on Windows and a Linux Server\"},{\"@context\":\"https:\\\/\\\/schema.org\",\"@type\":\"BreadcrumbList\",\"@id\":\"https:\\\/\\\/www.ucartz.com\\\/blog\\\/install-node-js-windows-linux\\\/#breadcrumb\",\"itemListElement\":[{\"@type\":\"ListItem\",\"position\":1,\"name\":\"Home\",\"item\":\"https:\\\/\\\/www.ucartz.com\\\/blog\\\/\"},{\"@type\":\"ListItem\",\"position\":2,\"name\":\"How to Install Node.js on Windows and a Linux Server\"}]},{\"@context\":\"https:\\\/\\\/schema.org\",\"@type\":\"WebSite\",\"@id\":\"https:\\\/\\\/www.ucartz.com\\\/blog\\\/#website\",\"url\":\"https:\\\/\\\/www.ucartz.com\\\/blog\\\/\",\"name\":\"Ucartz Blog\",\"description\":\"Guides on hosting, servers, streaming and automation\",\"publisher\":{\"@id\":\"https:\\\/\\\/www.ucartz.com\\\/#organization\"},\"alternateName\":\"Ucartz\",\"potentialAction\":[{\"@type\":\"SearchAction\",\"target\":{\"@type\":\"EntryPoint\",\"urlTemplate\":\"https:\\\/\\\/www.ucartz.com\\\/blog\\\/?s={search_term_string}\"},\"query-input\":{\"@type\":\"PropertyValueSpecification\",\"valueRequired\":true,\"valueName\":\"search_term_string\"}}],\"inLanguage\":\"en-US\"},{\"@context\":\"https:\\\/\\\/schema.org\",\"@type\":\"Organization\",\"@id\":\"https:\\\/\\\/www.ucartz.com\\\/#organization\",\"name\":\"Ucartz Online Private Limited\",\"alternateName\":\"Ucartz\",\"url\":\"https:\\\/\\\/www.ucartz.com\\\/\",\"logo\":{\"@type\":\"ImageObject\",\"@id\":\"https:\\\/\\\/www.ucartz.com\\\/#\\\/schema\\\/logo\\\/image\\\/\",\"url\":\"https:\\\/\\\/www.ucartz.com\\\/assets\\\/images\\\/brand\\\/logo\\\/ucartz-logo-888x240.png\",\"contentUrl\":\"https:\\\/\\\/www.ucartz.com\\\/assets\\\/images\\\/brand\\\/logo\\\/ucartz-logo-888x240.png\",\"width\":888,\"height\":240,\"caption\":\"Ucartz\"},\"image\":{\"@id\":\"https:\\\/\\\/www.ucartz.com\\\/#\\\/schema\\\/logo\\\/image\\\/\"},\"sameAs\":[\"https:\\\/\\\/www.facebook.com\\\/UcartzOnline\",\"https:\\\/\\\/twitter.com\\\/ucartz\",\"https:\\\/\\\/www.instagram.com\\\/ucartz_com\",\"https:\\\/\\\/www.linkedin.com\\\/company\\\/ucartzonline\",\"https:\\\/\\\/github.com\\\/ucartz\",\"https:\\\/\\\/n8n.io\\\/creators\\\/ucartz\\\/\",\"https:\\\/\\\/marketplace.whmcs.com\\\/group\\\/Ucartz\"]},{\"@context\":\"https:\\\/\\\/schema.org\",\"@type\":\"Person\",\"@id\":\"https:\\\/\\\/www.ucartz.com\\\/blog\\\/#\\\/schema\\\/person\\\/2d964b1b8325f8a5e55bed0d1e0fa1d0\",\"name\":\"Ria Febin\",\"image\":{\"@type\":\"ImageObject\",\"inLanguage\":\"en-US\",\"@id\":\"https:\\\/\\\/www.ucartz.com\\\/blog\\\/wp-content\\\/themes\\\/ucartz-blog\\\/assets\\\/images\\\/authors\\\/ria-febin-112.webp\",\"url\":\"https:\\\/\\\/www.ucartz.com\\\/blog\\\/wp-content\\\/themes\\\/ucartz-blog\\\/assets\\\/images\\\/authors\\\/ria-febin-112.webp\",\"contentUrl\":\"https:\\\/\\\/www.ucartz.com\\\/blog\\\/wp-content\\\/themes\\\/ucartz-blog\\\/assets\\\/images\\\/authors\\\/ria-febin-112.webp\",\"caption\":\"Ria Febin\"},\"url\":\"https:\\\/\\\/www.ucartz.com\\\/blog\\\/author\\\/ria-febin\\\/\"}]}<\/script>\n<!-- \/ Yoast SEO plugin. -->","yoast_head_json":{"title":"How to Install Node.js on Windows and a Linux\u2026 | Ucartz","description":"Install Node.js on Windows with the official installer or WinGet, and on a Linux server with apt, NodeSource or nvm, with tested versions and fixes.","robots":{"index":"index","follow":"follow","max-snippet":"max-snippet:-1","max-image-preview":"max-image-preview:large","max-video-preview":"max-video-preview:-1"},"canonical":"https:\/\/www.ucartz.com\/blog\/install-node-js-windows-linux\/","og_locale":"en_US","og_type":"article","og_title":"| Ucartz Blog | Ucartz","og_description":"Install Node.js on Windows with the official installer or WinGet, and on a Linux server with apt, NodeSource or nvm, with tested versions and fixes.","og_url":"https:\/\/www.ucartz.com\/blog\/install-node-js-windows-linux\/","og_site_name":"Ucartz Blog","article_publisher":"https:\/\/www.facebook.com\/UcartzOnline","article_published_time":"2026-11-08T10:44:00+00:00","article_modified_time":"2026-11-09T22:05:26+00:00","og_image":[{"width":1200,"height":630,"url":"https:\/\/www.ucartz.com\/blog\/wp-content\/uploads\/2026\/11\/install-node-js-windows-linux.jpg","type":"image\/jpeg"}],"author":"Ria Febin","twitter_card":"summary_large_image","twitter_title":"| Ucartz Blog | Ucartz","twitter_creator":"@ucartz","twitter_site":"@ucartz","twitter_misc":{"Written by":"Ria Febin","Est. reading time":"6 minutes"},"schema":{"@context":"https:\/\/schema.org","@graph":[{"@context":"https:\/\/schema.org","@type":"Article","@id":"https:\/\/www.ucartz.com\/blog\/install-node-js-windows-linux\/#article","isPartOf":{"@id":"https:\/\/www.ucartz.com\/blog\/install-node-js-windows-linux\/"},"author":{"name":"Ria Febin","@id":"https:\/\/www.ucartz.com\/blog\/#\/schema\/person\/2d964b1b8325f8a5e55bed0d1e0fa1d0"},"headline":"How to Install Node.js on Windows and a Linux Server","datePublished":"2026-11-08T10:44:00+00:00","dateModified":"2026-11-09T22:05:26+00:00","mainEntityOfPage":{"@id":"https:\/\/www.ucartz.com\/blog\/install-node-js-windows-linux\/"},"wordCount":1074,"publisher":{"@id":"https:\/\/www.ucartz.com\/#organization"},"image":{"@id":"https:\/\/www.ucartz.com\/blog\/install-node-js-windows-linux\/#primaryimage"},"thumbnailUrl":"https:\/\/www.ucartz.com\/blog\/wp-content\/uploads\/2026\/11\/install-node-js-windows-linux.jpg","keywords":["javascript","linux vps","node.js","nodesource","npm","nvm","windows"],"articleSection":["Tutorials","VPS Hosting"],"inLanguage":"en-US"},{"@context":"https:\/\/schema.org","@type":"WebPage","@id":"https:\/\/www.ucartz.com\/blog\/install-node-js-windows-linux\/","url":"https:\/\/www.ucartz.com\/blog\/install-node-js-windows-linux\/","name":"| Ucartz Blog | Ucartz","isPartOf":{"@id":"https:\/\/www.ucartz.com\/blog\/#website"},"primaryImageOfPage":{"@id":"https:\/\/www.ucartz.com\/blog\/install-node-js-windows-linux\/#primaryimage"},"image":{"@id":"https:\/\/www.ucartz.com\/blog\/install-node-js-windows-linux\/#primaryimage"},"thumbnailUrl":"https:\/\/www.ucartz.com\/blog\/wp-content\/uploads\/2026\/11\/install-node-js-windows-linux.jpg","datePublished":"2026-11-08T10:44:00+00:00","dateModified":"2026-11-09T22:05:26+00:00","description":"Install Node.js on Windows with the official installer or WinGet, and on a Linux server with apt, NodeSource or nvm, with tested versions and fixes.","breadcrumb":{"@id":"https:\/\/www.ucartz.com\/blog\/install-node-js-windows-linux\/#breadcrumb"},"inLanguage":"en-US","potentialAction":[{"@type":"ReadAction","target":["https:\/\/www.ucartz.com\/blog\/install-node-js-windows-linux\/"]}]},{"@context":"https:\/\/schema.org","@type":"ImageObject","inLanguage":"en-US","@id":"https:\/\/www.ucartz.com\/blog\/install-node-js-windows-linux\/#primaryimage","url":"https:\/\/www.ucartz.com\/blog\/wp-content\/uploads\/2026\/11\/install-node-js-windows-linux.jpg","contentUrl":"https:\/\/www.ucartz.com\/blog\/wp-content\/uploads\/2026\/11\/install-node-js-windows-linux.jpg","width":1200,"height":630,"caption":"How to Install Node.js on Windows and a Linux Server"},{"@context":"https:\/\/schema.org","@type":"BreadcrumbList","@id":"https:\/\/www.ucartz.com\/blog\/install-node-js-windows-linux\/#breadcrumb","itemListElement":[{"@type":"ListItem","position":1,"name":"Home","item":"https:\/\/www.ucartz.com\/blog\/"},{"@type":"ListItem","position":2,"name":"How to Install Node.js on Windows and a Linux Server"}]},{"@context":"https:\/\/schema.org","@type":"WebSite","@id":"https:\/\/www.ucartz.com\/blog\/#website","url":"https:\/\/www.ucartz.com\/blog\/","name":"Ucartz Blog","description":"Guides on hosting, servers, streaming and automation","publisher":{"@id":"https:\/\/www.ucartz.com\/#organization"},"alternateName":"Ucartz","potentialAction":[{"@type":"SearchAction","target":{"@type":"EntryPoint","urlTemplate":"https:\/\/www.ucartz.com\/blog\/?s={search_term_string}"},"query-input":{"@type":"PropertyValueSpecification","valueRequired":true,"valueName":"search_term_string"}}],"inLanguage":"en-US"},{"@context":"https:\/\/schema.org","@type":"Organization","@id":"https:\/\/www.ucartz.com\/#organization","name":"Ucartz Online Private Limited","alternateName":"Ucartz","url":"https:\/\/www.ucartz.com\/","logo":{"@type":"ImageObject","@id":"https:\/\/www.ucartz.com\/#\/schema\/logo\/image\/","url":"https:\/\/www.ucartz.com\/assets\/images\/brand\/logo\/ucartz-logo-888x240.png","contentUrl":"https:\/\/www.ucartz.com\/assets\/images\/brand\/logo\/ucartz-logo-888x240.png","width":888,"height":240,"caption":"Ucartz"},"image":{"@id":"https:\/\/www.ucartz.com\/#\/schema\/logo\/image\/"},"sameAs":["https:\/\/www.facebook.com\/UcartzOnline","https:\/\/twitter.com\/ucartz","https:\/\/www.instagram.com\/ucartz_com","https:\/\/www.linkedin.com\/company\/ucartzonline","https:\/\/github.com\/ucartz","https:\/\/n8n.io\/creators\/ucartz\/","https:\/\/marketplace.whmcs.com\/group\/Ucartz"]},{"@context":"https:\/\/schema.org","@type":"Person","@id":"https:\/\/www.ucartz.com\/blog\/#\/schema\/person\/2d964b1b8325f8a5e55bed0d1e0fa1d0","name":"Ria Febin","image":{"@type":"ImageObject","inLanguage":"en-US","@id":"https:\/\/www.ucartz.com\/blog\/wp-content\/themes\/ucartz-blog\/assets\/images\/authors\/ria-febin-112.webp","url":"https:\/\/www.ucartz.com\/blog\/wp-content\/themes\/ucartz-blog\/assets\/images\/authors\/ria-febin-112.webp","contentUrl":"https:\/\/www.ucartz.com\/blog\/wp-content\/themes\/ucartz-blog\/assets\/images\/authors\/ria-febin-112.webp","caption":"Ria Febin"},"url":"https:\/\/www.ucartz.com\/blog\/author\/ria-febin\/"}]}},"_links":{"self":[{"href":"https:\/\/www.ucartz.com\/blog\/wp-json\/wp\/v2\/posts\/4279","targetHints":{"allow":["GET"]}}],"collection":[{"href":"https:\/\/www.ucartz.com\/blog\/wp-json\/wp\/v2\/posts"}],"about":[{"href":"https:\/\/www.ucartz.com\/blog\/wp-json\/wp\/v2\/types\/post"}],"author":[{"embeddable":true,"href":"https:\/\/www.ucartz.com\/blog\/wp-json\/wp\/v2\/users\/4"}],"replies":[{"embeddable":true,"href":"https:\/\/www.ucartz.com\/blog\/wp-json\/wp\/v2\/comments?post=4279"}],"version-history":[{"count":1,"href":"https:\/\/www.ucartz.com\/blog\/wp-json\/wp\/v2\/posts\/4279\/revisions"}],"predecessor-version":[{"id":4282,"href":"https:\/\/www.ucartz.com\/blog\/wp-json\/wp\/v2\/posts\/4279\/revisions\/4282"}],"wp:featuredmedia":[{"embeddable":true,"href":"https:\/\/www.ucartz.com\/blog\/wp-json\/wp\/v2\/media\/4280"}],"wp:attachment":[{"href":"https:\/\/www.ucartz.com\/blog\/wp-json\/wp\/v2\/media?parent=4279"}],"wp:term":[{"taxonomy":"category","embeddable":true,"href":"https:\/\/www.ucartz.com\/blog\/wp-json\/wp\/v2\/categories?post=4279"},{"taxonomy":"post_tag","embeddable":true,"href":"https:\/\/www.ucartz.com\/blog\/wp-json\/wp\/v2\/tags?post=4279"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}