{"id":15932,"date":"2025-12-13T12:26:13","date_gmt":"2025-12-13T12:26:13","guid":{"rendered":"https:\/\/greenwebpage.com\/community\/?p=15932"},"modified":"2025-12-14T10:47:24","modified_gmt":"2025-12-14T10:47:24","slug":"how-to-install-node-js-on-debian-13","status":"publish","type":"post","link":"https:\/\/greenwebpage.com\/community\/how-to-install-node-js-on-debian-13\/","title":{"rendered":"How to Install Node.js on Debian 13"},"content":{"rendered":"\n<p>Node.js, a free runtime environment, is used to run JavaScript on the server (independently from a web browser). It is a powerful tool for creating web applications because it can handle multiple requests simultaneously without being blocked. It is also a cross-platform application that can run on Windows, macOS, and various Linux distributions, including Debian 13.<\/p>\n\n\n\n<p>This guide will show you how to install Node.js on Debian 13.<\/p>\n\n\n\n<p><strong>Table of Contents<\/strong><\/p>\n\n\n\n<ul class=\"wp-block-list\">\n<li><a href=\"#How-to-Install-Node.js-on-Debian-13\">How to Install Node.js on Debian 13<\/a>\n<ul class=\"wp-block-list\">\n<li><a href=\"#Method-1:-From-the-Default-Debian-Repository\">Method 1: Using the Default Debian Repository<\/a><\/li>\n\n\n\n<li><a href=\"#Method-2:-Using-Installation-Script\">Method 2: Using Installation Script<\/a><\/li>\n\n\n\n<li><a href=\"#Method-3:-From-NodeSource-Repository\">Method 3: Using NodeSource Repository<\/a><\/li>\n\n\n\n<li><a href=\"#Method-4:-From-the-Source-Code\">Method 4: Using Source Code <\/a><\/li>\n\n\n\n<li><a href=\"#Method-5:-Using-the-Node-Version-Manager\">Method 5: Using Node Version Manager <\/a><\/li>\n<\/ul>\n<\/li>\n\n\n\n<li><a href=\"#How-to-Remove-Node.js-From-Debian-13\">How to Remove Node.js From Debian 13<\/a><\/li>\n\n\n\n<li><a href=\"#Conclusion\">Conclusion<\/a><\/li>\n<\/ul>\n\n\n\n<h2 class=\"wp-block-heading\" id=\"How-to-Install-Node.js-on-Debian-13\"><a id=\"post-15932-_rsulotewng4k\"><\/a>How to Install Node.js on Debian 13<\/h2>\n\n\n\n<p>The easiest way to install Node.js on Debian 13 is to first update your system, then choose either Debian\u2019s default repository or the official NodeSource repo for the latest version. You can install the stable Debian version using sudo apt install nodejs npm, or get the most recent LTS\/Current release by downloading and running the NodeSource setup script, followed by sudo apt install nodejs. Once installed, verify it with node -v and npm -v to confirm that Node.js is correctly configured on your Debian 13 system.<\/p>\n\n\n\n<h2 class=\"wp-block-heading\" id=\"Method-1:-From-the-Default-Debian-Repository\"><a id=\"post-15932-_za33i2sopn2q\"><\/a>Method 1: From the Default Debian Repository<\/h2>\n\n\n\n<p>Debian&#8217;s default repository includes several software packages, including Node.js. This is the easiest way to install Node.js in Debian 13, but it uses an outdated version. Follow the steps below to install Node.js using the Debian repository:<\/p>\n\n\n\n<h3 class=\"wp-block-heading\"><a id=\"post-15932-_cp6jzvr8yz48\"><\/a>Step 1: Refresh System Packages<\/h3>\n\n\n\n<p>Update the Debian system package list first as follows:<\/p>\n\n\n\n<figure class=\"wp-block-table\"><table class=\"has-fixed-layout\"><thead><tr><th>\n<p>sudo apt update<\/p>\n<\/th><\/tr><\/thead><\/table><\/figure>\n\n\n\n<figure class=\"wp-block-image\"><img fetchpriority=\"high\" decoding=\"async\" width=\"1039\" height=\"257\" src=\"http:\/\/greenwebpage.com\/community\/wp-content\/uploads\/2025\/12\/word-image-15932-1.png\" alt=\"sudo apt update\" class=\"wp-image-15933\" srcset=\"https:\/\/greenwebpage.com\/community\/wp-content\/uploads\/2025\/12\/word-image-15932-1.png 1039w, https:\/\/greenwebpage.com\/community\/wp-content\/uploads\/2025\/12\/word-image-15932-1-300x74.png 300w, https:\/\/greenwebpage.com\/community\/wp-content\/uploads\/2025\/12\/word-image-15932-1-1024x253.png 1024w, https:\/\/greenwebpage.com\/community\/wp-content\/uploads\/2025\/12\/word-image-15932-1-768x190.png 768w\" sizes=\"(max-width: 1039px) 100vw, 1039px\" \/><\/figure>\n\n\n\n<p><\/p>\n\n\n\n<h3 class=\"wp-block-heading\"><a id=\"post-15932-_tgeukevdj6uz\"><\/a>Step 2: Install Node.js on Debian 13<\/h3>\n\n\n\n<p>Install the Node.js Package. Install &#8220;nodejs&#8221; on your Debian 13.<\/p>\n\n\n\n<figure class=\"wp-block-table\"><table class=\"has-fixed-layout\"><thead><tr><th>\n<p>sudo apt install nodejs<\/p>\n<\/th><\/tr><\/thead><\/table><\/figure>\n\n\n\n<figure class=\"wp-block-image\"><img decoding=\"async\" width=\"1045\" height=\"524\" src=\"http:\/\/greenwebpage.com\/community\/wp-content\/uploads\/2025\/12\/word-image-15932-2.png\" alt=\"sudo apt install nodejs\" class=\"wp-image-15934\" srcset=\"https:\/\/greenwebpage.com\/community\/wp-content\/uploads\/2025\/12\/word-image-15932-2.png 1045w, https:\/\/greenwebpage.com\/community\/wp-content\/uploads\/2025\/12\/word-image-15932-2-300x150.png 300w, https:\/\/greenwebpage.com\/community\/wp-content\/uploads\/2025\/12\/word-image-15932-2-1024x513.png 1024w, https:\/\/greenwebpage.com\/community\/wp-content\/uploads\/2025\/12\/word-image-15932-2-768x385.png 768w\" sizes=\"(max-width: 1045px) 100vw, 1045px\" \/><\/figure>\n\n\n\n<p><\/p>\n\n\n\n<h3 class=\"wp-block-heading\"><a id=\"post-15932-_4k20zuxjni4\"><\/a>Step 3: Verify Node.js Installation<\/h3>\n\n\n\n<p>Check the Node.js version installed to confirm its installation on Debian 13.<\/p>\n\n\n\n<figure class=\"wp-block-table\"><table class=\"has-fixed-layout\"><thead><tr><th>\n<p>node &#8211;version<\/p>\n<\/th><\/tr><\/thead><\/table><\/figure>\n\n\n\n<figure class=\"wp-block-image\"><img decoding=\"async\" width=\"1045\" height=\"101\" src=\"http:\/\/greenwebpage.com\/community\/wp-content\/uploads\/2025\/12\/word-image-15932-3.png\" alt=\"node --version\" class=\"wp-image-15935\" srcset=\"https:\/\/greenwebpage.com\/community\/wp-content\/uploads\/2025\/12\/word-image-15932-3.png 1045w, https:\/\/greenwebpage.com\/community\/wp-content\/uploads\/2025\/12\/word-image-15932-3-300x29.png 300w, https:\/\/greenwebpage.com\/community\/wp-content\/uploads\/2025\/12\/word-image-15932-3-1024x99.png 1024w, https:\/\/greenwebpage.com\/community\/wp-content\/uploads\/2025\/12\/word-image-15932-3-768x74.png 768w\" sizes=\"(max-width: 1045px) 100vw, 1045px\" \/><\/figure>\n\n\n\n<p><\/p>\n\n\n\n<p>The output displays the outdated version installed:<\/p>\n\n\n\n<h2 class=\"wp-block-heading\" id=\"Method-2:-Using-Installation-Script\"><a id=\"post-15932-_oxyx3ujmdvmj\"><\/a>Method 2: Using Installation Script<\/h2>\n\n\n\n<p>Node.js&#8217;s <a href=\"https:\/\/github.com\/nodesource\/distributions?tab=readme-ov-file#debian-versions\">official installation scrip<\/a>t will automatically install Node.js and all dependencies onto Debian 13 systems. This is the fastest and easiest way to install the latest version of Node.js for Debian 13. The steps are:<\/p>\n\n\n\n<h3 class=\"wp-block-heading\"><a id=\"post-15932-_hpmrixt5pib9\"><\/a>Step 1: Download Node.js on Debian 13<\/h3>\n\n\n\n<p>Execute the following command to download Node.js:<\/p>\n\n\n\n<figure class=\"wp-block-table\"><table class=\"has-fixed-layout\"><thead><tr><th>\n<p>curl -fsSL https:\/\/deb.nodesource.com\/setup_22.x | sudo bash &#8211;<\/p>\n<\/th><\/tr><\/thead><\/table><\/figure>\n\n\n\n<figure class=\"wp-block-image\"><img loading=\"lazy\" decoding=\"async\" width=\"1045\" height=\"278\" src=\"http:\/\/greenwebpage.com\/community\/wp-content\/uploads\/2025\/12\/word-image-15932-4.png\" alt=\"curl -fsSL https:\/\/deb.nodesource.com\/setup_22.x | sudo bash -\" class=\"wp-image-15936\" srcset=\"https:\/\/greenwebpage.com\/community\/wp-content\/uploads\/2025\/12\/word-image-15932-4.png 1045w, https:\/\/greenwebpage.com\/community\/wp-content\/uploads\/2025\/12\/word-image-15932-4-300x80.png 300w, https:\/\/greenwebpage.com\/community\/wp-content\/uploads\/2025\/12\/word-image-15932-4-1024x272.png 1024w, https:\/\/greenwebpage.com\/community\/wp-content\/uploads\/2025\/12\/word-image-15932-4-768x204.png 768w\" sizes=\"(max-width: 1045px) 100vw, 1045px\" \/><\/figure>\n\n\n\n<p><\/p>\n\n\n\n<h3 class=\"wp-block-heading\"><a id=\"post-15932-_rf79ctr9cafj\"><\/a>Step 2: Install Node.js on Debian 13<\/h3>\n\n\n\n<p>Execute the following command to install Node.js automatically on your Debian 13 System:<\/p>\n\n\n\n<figure class=\"wp-block-table\"><table class=\"has-fixed-layout\"><thead><tr><th>\n<p>sudo apt install nodejs<\/p>\n<\/th><\/tr><\/thead><\/table><\/figure>\n\n\n\n<figure class=\"wp-block-image\"><img loading=\"lazy\" decoding=\"async\" width=\"1045\" height=\"524\" src=\"http:\/\/greenwebpage.com\/community\/wp-content\/uploads\/2025\/12\/word-image-15932-5.png\" alt=\"sudo apt install nodejs\" class=\"wp-image-15937\" srcset=\"https:\/\/greenwebpage.com\/community\/wp-content\/uploads\/2025\/12\/word-image-15932-5.png 1045w, https:\/\/greenwebpage.com\/community\/wp-content\/uploads\/2025\/12\/word-image-15932-5-300x150.png 300w, https:\/\/greenwebpage.com\/community\/wp-content\/uploads\/2025\/12\/word-image-15932-5-1024x513.png 1024w, https:\/\/greenwebpage.com\/community\/wp-content\/uploads\/2025\/12\/word-image-15932-5-768x385.png 768w\" sizes=\"(max-width: 1045px) 100vw, 1045px\" \/><\/figure>\n\n\n\n<p><\/p>\n\n\n\n<h3 class=\"wp-block-heading\"><a id=\"post-15932-_uf59kfx95ka5\"><\/a>Step 3: Verification<\/h3>\n\n\n\n<p>This output will show the latest Node.js version installed on your system.<\/p>\n\n\n\n<figure class=\"wp-block-table\"><table class=\"has-fixed-layout\"><thead><tr><th>\n<p>node -v<\/p>\n<\/th><\/tr><\/thead><\/table><\/figure>\n\n\n\n<figure class=\"wp-block-image\"><img loading=\"lazy\" decoding=\"async\" width=\"1048\" height=\"103\" src=\"http:\/\/greenwebpage.com\/community\/wp-content\/uploads\/2025\/12\/word-image-15932-6.png\" alt=\"node -v\" class=\"wp-image-15938\" srcset=\"https:\/\/greenwebpage.com\/community\/wp-content\/uploads\/2025\/12\/word-image-15932-6.png 1048w, https:\/\/greenwebpage.com\/community\/wp-content\/uploads\/2025\/12\/word-image-15932-6-300x29.png 300w, https:\/\/greenwebpage.com\/community\/wp-content\/uploads\/2025\/12\/word-image-15932-6-1024x101.png 1024w, https:\/\/greenwebpage.com\/community\/wp-content\/uploads\/2025\/12\/word-image-15932-6-768x75.png 768w\" sizes=\"(max-width: 1048px) 100vw, 1048px\" \/><\/figure>\n\n\n\n<p><\/p>\n\n\n\n<h2 class=\"wp-block-heading\" id=\"Method-3:-From-NodeSource-Repository\"><a id=\"post-15932-_880wjrithscv\"><\/a>Method 3: From NodeSource Repository<\/h2>\n\n\n\n<p>Add the <a href=\"https:\/\/github.com\/nodesource\/distributions\/wiki\/Repository-Manual-Installation\">NodeSource repository <\/a>to your system, and you can install Node.js in Debian 13. The manual installation method not only installs the latest Node.js version, but also automatically upgrades it via Debian&#8217;s Package Manager. Follow the steps below to install Node.js from the NodeSource repositories in Debian 13.<\/p>\n\n\n\n<h3 class=\"wp-block-heading\"><a id=\"post-15932-_9r9cziej9znx\"><\/a>Step 1: Install Dependencies<\/h3>\n\n\n\n<p>Install the required dependencies to install Node.js on your system.<\/p>\n\n\n\n<figure class=\"wp-block-table\"><table class=\"has-fixed-layout\"><thead><tr><th>\n<p>sudo apt install ca-certificates curl gnupg -y<\/p>\n<\/th><\/tr><\/thead><\/table><\/figure>\n\n\n\n<figure class=\"wp-block-image\"><img loading=\"lazy\" decoding=\"async\" width=\"1045\" height=\"207\" src=\"http:\/\/greenwebpage.com\/community\/wp-content\/uploads\/2025\/12\/word-image-15932-7.png\" alt=\"sudo apt install ca-certificates curl gnupg -y\" class=\"wp-image-15939\" srcset=\"https:\/\/greenwebpage.com\/community\/wp-content\/uploads\/2025\/12\/word-image-15932-7.png 1045w, https:\/\/greenwebpage.com\/community\/wp-content\/uploads\/2025\/12\/word-image-15932-7-300x59.png 300w, https:\/\/greenwebpage.com\/community\/wp-content\/uploads\/2025\/12\/word-image-15932-7-1024x203.png 1024w, https:\/\/greenwebpage.com\/community\/wp-content\/uploads\/2025\/12\/word-image-15932-7-768x152.png 768w\" sizes=\"(max-width: 1045px) 100vw, 1045px\" \/><\/figure>\n\n\n\n<p><\/p>\n\n\n\n<h3 class=\"wp-block-heading\"><a id=\"post-15932-_213fx1i2kp8v\"><\/a>Step 2: Import NodeSource GPG Key<\/h3>\n\n\n\n<p>Import the NodeSource key to verify the integrity of the Node.js package as follows:<\/p>\n\n\n\n<figure class=\"wp-block-table\"><table class=\"has-fixed-layout\"><thead><tr><th>\n<p>curl -fsSL https:\/\/deb.nodesource.com\/gpgkey\/nodesource-repo.gpg.key | sudo gpg &#8211;dearmor -o \/etc\/apt\/keyrings\/nodesource.gpg<\/p>\n<\/th><\/tr><\/thead><\/table><\/figure>\n\n\n\n<figure class=\"wp-block-image\"><img loading=\"lazy\" decoding=\"async\" width=\"1044\" height=\"101\" src=\"http:\/\/greenwebpage.com\/community\/wp-content\/uploads\/2025\/12\/word-image-15932-8.png\" alt=\"curl -fsSL https:\/\/deb.nodesource.com\/gpgkey\/nodesource-repo.gpg.key | sudo gpg --dearmor -o \/etc\/apt\/keyrings\/nodesource.gpg\" class=\"wp-image-15940\" srcset=\"https:\/\/greenwebpage.com\/community\/wp-content\/uploads\/2025\/12\/word-image-15932-8.png 1044w, https:\/\/greenwebpage.com\/community\/wp-content\/uploads\/2025\/12\/word-image-15932-8-300x29.png 300w, https:\/\/greenwebpage.com\/community\/wp-content\/uploads\/2025\/12\/word-image-15932-8-1024x99.png 1024w, https:\/\/greenwebpage.com\/community\/wp-content\/uploads\/2025\/12\/word-image-15932-8-768x74.png 768w\" sizes=\"(max-width: 1044px) 100vw, 1044px\" \/><\/figure>\n\n\n\n<p><\/p>\n\n\n\n<h3 class=\"wp-block-heading\"><a id=\"post-15932-_p7onykbcep8v\"><\/a>Step 3: Add NodeSource Repository<\/h3>\n\n\n\n<p>Then, add the NodeSource repository (official NodeSource repository) to your Debian 13 installation:<\/p>\n\n\n\n<figure class=\"wp-block-table\"><table class=\"has-fixed-layout\"><thead><tr><th>\n<p>NODE_MAJOR=22 <br>echo &#8220;deb [signed-by=\/etc\/apt\/keyrings\/nodesource.gpg] https:\/\/deb.nodesource.com\/node_$NODE_MAJOR.x nodistro main&#8221; | sudo tee \/etc\/apt\/sources.list.d\/nodesource.list<\/p>\n<\/th><\/tr><\/thead><\/table><\/figure>\n\n\n\n<figure class=\"wp-block-image\"><img loading=\"lazy\" decoding=\"async\" width=\"1048\" height=\"207\" src=\"http:\/\/greenwebpage.com\/community\/wp-content\/uploads\/2025\/12\/word-image-15932-9.png\" alt=\"echo &quot;deb [signed-by=\/etc\/apt\/keyrings\/nodesource.gpg] https:\/\/deb.nodesource.com\/node_$NODE_MAJOR.x nodistro main&quot; | sudo tee \/etc\/apt\/sources.list.d\/nodesource.list\" class=\"wp-image-15941\" srcset=\"https:\/\/greenwebpage.com\/community\/wp-content\/uploads\/2025\/12\/word-image-15932-9.png 1048w, https:\/\/greenwebpage.com\/community\/wp-content\/uploads\/2025\/12\/word-image-15932-9-300x59.png 300w, https:\/\/greenwebpage.com\/community\/wp-content\/uploads\/2025\/12\/word-image-15932-9-1024x202.png 1024w, https:\/\/greenwebpage.com\/community\/wp-content\/uploads\/2025\/12\/word-image-15932-9-768x152.png 768w\" sizes=\"(max-width: 1048px) 100vw, 1048px\" \/><\/figure>\n\n\n\n<p><\/p>\n\n\n\n<h3 class=\"wp-block-heading\"><a id=\"post-15932-_gb4mp0521iqu\"><\/a>Step 4: Update System\u2019s Packages<\/h3>\n\n\n\n<p>To implement the new changes, you will also need to update your Debian system:<\/p>\n\n\n\n<figure class=\"wp-block-table\"><table class=\"has-fixed-layout\"><thead><tr><th>\n<p>sudo apt update<\/p>\n<\/th><\/tr><\/thead><\/table><\/figure>\n\n\n\n<figure class=\"wp-block-image\"><img loading=\"lazy\" decoding=\"async\" width=\"1038\" height=\"250\" src=\"http:\/\/greenwebpage.com\/community\/wp-content\/uploads\/2025\/12\/word-image-15932-10.png\" alt=\"sudo apt update\" class=\"wp-image-15942\" srcset=\"https:\/\/greenwebpage.com\/community\/wp-content\/uploads\/2025\/12\/word-image-15932-10.png 1038w, https:\/\/greenwebpage.com\/community\/wp-content\/uploads\/2025\/12\/word-image-15932-10-300x72.png 300w, https:\/\/greenwebpage.com\/community\/wp-content\/uploads\/2025\/12\/word-image-15932-10-1024x247.png 1024w, https:\/\/greenwebpage.com\/community\/wp-content\/uploads\/2025\/12\/word-image-15932-10-768x185.png 768w\" sizes=\"(max-width: 1038px) 100vw, 1038px\" \/><\/figure>\n\n\n\n<p><\/p>\n\n\n\n<h3 class=\"wp-block-heading\"><a id=\"post-15932-_7vkp3wh5p5xh\"><\/a>Step 5: Install Node.js on Debian 13<\/h3>\n\n\n\n<p>Install Node.js from the NodeSource repository on your Debian 13 System using the command given below:<\/p>\n\n\n\n<figure class=\"wp-block-table\"><table class=\"has-fixed-layout\"><thead><tr><th>\n<p>sudo apt install nodejs<\/p>\n<\/th><\/tr><\/thead><\/table><\/figure>\n\n\n\n<figure class=\"wp-block-image\"><img loading=\"lazy\" decoding=\"async\" width=\"1039\" height=\"424\" src=\"http:\/\/greenwebpage.com\/community\/wp-content\/uploads\/2025\/12\/word-image-15932-11.png\" alt=\"sudo apt install nodejs\" class=\"wp-image-15943\" srcset=\"https:\/\/greenwebpage.com\/community\/wp-content\/uploads\/2025\/12\/word-image-15932-11.png 1039w, https:\/\/greenwebpage.com\/community\/wp-content\/uploads\/2025\/12\/word-image-15932-11-300x122.png 300w, https:\/\/greenwebpage.com\/community\/wp-content\/uploads\/2025\/12\/word-image-15932-11-1024x418.png 1024w, https:\/\/greenwebpage.com\/community\/wp-content\/uploads\/2025\/12\/word-image-15932-11-768x313.png 768w\" sizes=\"(max-width: 1039px) 100vw, 1039px\" \/><\/figure>\n\n\n\n<p><\/p>\n\n\n\n<h3 class=\"wp-block-heading\"><a id=\"post-15932-_xrly2tcegyd0\"><\/a>Step 6: Ensure Installation<\/h3>\n\n\n\n<p>Lastly, you can display the Node.js Version to confirm installation.<\/p>\n\n\n\n<figure class=\"wp-block-table\"><table class=\"has-fixed-layout\"><thead><tr><th>\n<p>node -v<\/p>\n<\/th><\/tr><\/thead><\/table><\/figure>\n\n\n\n<figure class=\"wp-block-image\"><img loading=\"lazy\" decoding=\"async\" width=\"1047\" height=\"106\" src=\"http:\/\/greenwebpage.com\/community\/wp-content\/uploads\/2025\/12\/word-image-15932-12.png\" alt=\"node -v\" class=\"wp-image-15944\" srcset=\"https:\/\/greenwebpage.com\/community\/wp-content\/uploads\/2025\/12\/word-image-15932-12.png 1047w, https:\/\/greenwebpage.com\/community\/wp-content\/uploads\/2025\/12\/word-image-15932-12-300x30.png 300w, https:\/\/greenwebpage.com\/community\/wp-content\/uploads\/2025\/12\/word-image-15932-12-1024x104.png 1024w, https:\/\/greenwebpage.com\/community\/wp-content\/uploads\/2025\/12\/word-image-15932-12-768x78.png 768w\" sizes=\"(max-width: 1047px) 100vw, 1047px\" \/><\/figure>\n\n\n\n<p><\/p>\n\n\n\n<h2 class=\"wp-block-heading\" id=\"Method-4:-From-the-Source-Code\"><a id=\"post-15932-_4pa8curoolx2\"><\/a>Method 4: From the Source Code<\/h2>\n\n\n\n<p>Node.js&#8217;s official website provides the source code to install the latest Node.js. This method installs Node.js directly on the Debian 13 System from the source code, but it takes a long time for the user. It is not recommended. The instructions given for Node.js&#8217;s installation via its source code can be tried out:<\/p>\n\n\n\n<h3 class=\"wp-block-heading\"><a id=\"post-15932-_l95f8brhvuth\"><\/a>Step 1: Download Node.js Source Code File<\/h3>\n\n\n\n<p>Download the latest <a href=\"https:\/\/nodejs.org\/en\/download\/current\">official <\/a><a href=\"http:\/\/node.js\">Node.js<\/a> source package using the wget command:<\/p>\n\n\n\n<figure class=\"wp-block-table\"><table class=\"has-fixed-layout\"><thead><tr><th>\n<p>wget https:\/\/nodejs.org\/dist\/latest-v25.x\/node-v25.2.1.tar.gz<\/p>\n<\/th><\/tr><\/thead><\/table><\/figure>\n\n\n\n<figure class=\"wp-block-image\"><img loading=\"lazy\" decoding=\"async\" width=\"1045\" height=\"302\" src=\"http:\/\/greenwebpage.com\/community\/wp-content\/uploads\/2025\/12\/word-image-15932-13.png\" alt=\"wget https:\/\/nodejs.org\/dist\/latest-v25.x\/node-v25.2.1.tar.gz\" class=\"wp-image-15945\" srcset=\"https:\/\/greenwebpage.com\/community\/wp-content\/uploads\/2025\/12\/word-image-15932-13.png 1045w, https:\/\/greenwebpage.com\/community\/wp-content\/uploads\/2025\/12\/word-image-15932-13-300x87.png 300w, https:\/\/greenwebpage.com\/community\/wp-content\/uploads\/2025\/12\/word-image-15932-13-1024x296.png 1024w, https:\/\/greenwebpage.com\/community\/wp-content\/uploads\/2025\/12\/word-image-15932-13-768x222.png 768w\" sizes=\"(max-width: 1045px) 100vw, 1045px\" \/><\/figure>\n\n\n\n<p><\/p>\n\n\n\n<p>Here, we are downloading the source code file of the latest Node.js version, i.e., \u201cv25.2.1\u201d. Alternatively, download it directly from the <a href=\"https:\/\/nodejs.org\/en\/download\/current\">official website<\/a>:<\/p>\n\n\n\n<h3 class=\"wp-block-heading\"><a id=\"post-15932-_n7bcstcatxmw\"><\/a>Step 2: Extract Source Code File<\/h3>\n\n\n\n<p>Use the &#8220;tar&#8221; command to extract the Node.js compressed files:<\/p>\n\n\n\n<figure class=\"wp-block-table\"><table class=\"has-fixed-layout\"><thead><tr><th>\n<p>tar xzf node-v25.2.1.tar.gz<\/p>\n<\/th><\/tr><\/thead><\/table><\/figure>\n\n\n\n<figure class=\"wp-block-image\"><img loading=\"lazy\" decoding=\"async\" width=\"1042\" height=\"82\" src=\"http:\/\/greenwebpage.com\/community\/wp-content\/uploads\/2025\/12\/word-image-15932-14.png\" alt=\"tar xzf node-v25.2.1.tar.gz\" class=\"wp-image-15946\" srcset=\"https:\/\/greenwebpage.com\/community\/wp-content\/uploads\/2025\/12\/word-image-15932-14.png 1042w, https:\/\/greenwebpage.com\/community\/wp-content\/uploads\/2025\/12\/word-image-15932-14-300x24.png 300w, https:\/\/greenwebpage.com\/community\/wp-content\/uploads\/2025\/12\/word-image-15932-14-1024x81.png 1024w, https:\/\/greenwebpage.com\/community\/wp-content\/uploads\/2025\/12\/word-image-15932-14-768x60.png 768w\" sizes=\"(max-width: 1042px) 100vw, 1042px\" \/><\/figure>\n\n\n\n<p><\/p>\n\n\n\n<h3 class=\"wp-block-heading\"><a id=\"post-15932-_mbuofe72bgjb\"><\/a>Step 3: Install Required Dependencies<\/h3>\n\n\n\n<p>Install the following dependencies to compile source code on your Debian-based system:<\/p>\n\n\n\n<figure class=\"wp-block-table\"><table class=\"has-fixed-layout\"><thead><tr><th>\n<p>sudo apt install zlib1g-dev libncursesw5-dev build-essential libncurses5-dev libffi-dev libbz2-dev libsqlite3-dev libssl-dev -y<\/p>\n<\/th><\/tr><\/thead><\/table><\/figure>\n\n\n\n<figure class=\"wp-block-image\"><img loading=\"lazy\" decoding=\"async\" width=\"1045\" height=\"397\" src=\"http:\/\/greenwebpage.com\/community\/wp-content\/uploads\/2025\/12\/word-image-15932-15.png\" alt=\"sudo apt install zlib1g-dev libncursesw5-dev build-essential libncurses5-dev libffi-dev libbz2-dev libsqlite3-dev libssl-dev -y\" class=\"wp-image-15947\" srcset=\"https:\/\/greenwebpage.com\/community\/wp-content\/uploads\/2025\/12\/word-image-15932-15.png 1045w, https:\/\/greenwebpage.com\/community\/wp-content\/uploads\/2025\/12\/word-image-15932-15-300x114.png 300w, https:\/\/greenwebpage.com\/community\/wp-content\/uploads\/2025\/12\/word-image-15932-15-1024x389.png 1024w, https:\/\/greenwebpage.com\/community\/wp-content\/uploads\/2025\/12\/word-image-15932-15-768x292.png 768w\" sizes=\"(max-width: 1045px) 100vw, 1045px\" \/><\/figure>\n\n\n\n<p><\/p>\n\n\n\n<h3 class=\"wp-block-heading\"><a id=\"post-15932-_52k5vnz8cf9t\"><\/a>Step 4: Start Configuration Process<\/h3>\n\n\n\n<p>You need to navigate through the extracted directory using the following command:<\/p>\n\n\n\n<figure class=\"wp-block-table\"><table class=\"has-fixed-layout\"><thead><tr><th>\n<p>cd node-v25.2.1<\/p>\n<\/th><\/tr><\/thead><\/table><\/figure>\n\n\n\n<figure class=\"wp-block-image\"><img loading=\"lazy\" decoding=\"async\" width=\"1044\" height=\"80\" src=\"http:\/\/greenwebpage.com\/community\/wp-content\/uploads\/2025\/12\/word-image-15932-16.png\" alt=\"cd node-v25.2.1\" class=\"wp-image-15948\" srcset=\"https:\/\/greenwebpage.com\/community\/wp-content\/uploads\/2025\/12\/word-image-15932-16.png 1044w, https:\/\/greenwebpage.com\/community\/wp-content\/uploads\/2025\/12\/word-image-15932-16-300x23.png 300w, https:\/\/greenwebpage.com\/community\/wp-content\/uploads\/2025\/12\/word-image-15932-16-1024x78.png 1024w, https:\/\/greenwebpage.com\/community\/wp-content\/uploads\/2025\/12\/word-image-15932-16-768x59.png 768w\" sizes=\"(max-width: 1044px) 100vw, 1044px\" \/><\/figure>\n\n\n\n<p><\/p>\n\n\n\n<p>Start the configuration process.<\/p>\n\n\n\n<figure class=\"wp-block-table\"><table class=\"has-fixed-layout\"><thead><tr><th>\n<p>.\/configure<\/p>\n<\/th><\/tr><\/thead><\/table><\/figure>\n\n\n\n<figure class=\"wp-block-image\"><img loading=\"lazy\" decoding=\"async\" width=\"1043\" height=\"123\" src=\"http:\/\/greenwebpage.com\/community\/wp-content\/uploads\/2025\/12\/word-image-15932-17.png\" alt=\".\/configure\" class=\"wp-image-15949\" srcset=\"https:\/\/greenwebpage.com\/community\/wp-content\/uploads\/2025\/12\/word-image-15932-17.png 1043w, https:\/\/greenwebpage.com\/community\/wp-content\/uploads\/2025\/12\/word-image-15932-17-300x35.png 300w, https:\/\/greenwebpage.com\/community\/wp-content\/uploads\/2025\/12\/word-image-15932-17-1024x121.png 1024w, https:\/\/greenwebpage.com\/community\/wp-content\/uploads\/2025\/12\/word-image-15932-17-768x91.png 768w\" sizes=\"(max-width: 1043px) 100vw, 1043px\" \/><\/figure>\n\n\n\n<p><\/p>\n\n\n\n<h3 class=\"wp-block-heading\"><a id=\"post-15932-_25mx0jnwcv6t\"><\/a>Step 5: Compile and Build Source Code<\/h3>\n\n\n\n<p>Use the command below to begin the parallel compilation process and create the files necessary for Node.js:<\/p>\n\n\n\n<figure class=\"wp-block-table\"><table class=\"has-fixed-layout\"><thead><tr><th>\n<p>make -j 3<\/p>\n<\/th><\/tr><\/thead><\/table><\/figure>\n\n\n\n<figure class=\"wp-block-image\"><img loading=\"lazy\" decoding=\"async\" width=\"1044\" height=\"451\" src=\"http:\/\/greenwebpage.com\/community\/wp-content\/uploads\/2025\/12\/word-image-15932-18.png\" alt=\"make -j 3\" class=\"wp-image-15950\" srcset=\"https:\/\/greenwebpage.com\/community\/wp-content\/uploads\/2025\/12\/word-image-15932-18.png 1044w, https:\/\/greenwebpage.com\/community\/wp-content\/uploads\/2025\/12\/word-image-15932-18-300x130.png 300w, https:\/\/greenwebpage.com\/community\/wp-content\/uploads\/2025\/12\/word-image-15932-18-1024x442.png 1024w, https:\/\/greenwebpage.com\/community\/wp-content\/uploads\/2025\/12\/word-image-15932-18-768x332.png 768w\" sizes=\"(max-width: 1044px) 100vw, 1044px\" \/><\/figure>\n\n\n\n<p><\/p>\n\n\n\n<p><strong>Note:<\/strong> The process may take several hours to complete.<\/p>\n\n\n\n<h3 class=\"wp-block-heading\"><a id=\"post-15932-_32vum8uc7xsq\"><\/a>Step 6: Install Node.js on Debian 13<\/h3>\n\n\n\n<p>Install Node.js using the following command on Debian 13:<\/p>\n\n\n\n<figure class=\"wp-block-table\"><table class=\"has-fixed-layout\"><thead><tr><th>\n<p>sudo make install<\/p>\n<\/th><\/tr><\/thead><\/table><\/figure>\n\n\n\n<figure class=\"wp-block-image\"><img loading=\"lazy\" decoding=\"async\" width=\"1045\" height=\"451\" src=\"http:\/\/greenwebpage.com\/community\/wp-content\/uploads\/2025\/12\/word-image-15932-19.png\" alt=\"sudo make install\" class=\"wp-image-15951\" srcset=\"https:\/\/greenwebpage.com\/community\/wp-content\/uploads\/2025\/12\/word-image-15932-19.png 1045w, https:\/\/greenwebpage.com\/community\/wp-content\/uploads\/2025\/12\/word-image-15932-19-300x129.png 300w, https:\/\/greenwebpage.com\/community\/wp-content\/uploads\/2025\/12\/word-image-15932-19-1024x442.png 1024w, https:\/\/greenwebpage.com\/community\/wp-content\/uploads\/2025\/12\/word-image-15932-19-768x331.png 768w\" sizes=\"(max-width: 1045px) 100vw, 1045px\" \/><\/figure>\n\n\n\n<p><\/p>\n\n\n\n<h3 class=\"wp-block-heading\"><a id=\"post-15932-_sugu46lfmybc\"><\/a>Step 7: Verification<\/h3>\n\n\n\n<p>Check the installed version of Node.js to ensure it has been successfully installed:<\/p>\n\n\n\n<figure class=\"wp-block-table\"><table class=\"has-fixed-layout\"><thead><tr><th>\n<p>node -v<\/p>\n<\/th><\/tr><\/thead><\/table><\/figure>\n\n\n\n<figure class=\"wp-block-image\"><img loading=\"lazy\" decoding=\"async\" width=\"1040\" height=\"105\" src=\"http:\/\/greenwebpage.com\/community\/wp-content\/uploads\/2025\/12\/word-image-15932-20.png\" alt=\"node -v\" class=\"wp-image-15952\" srcset=\"https:\/\/greenwebpage.com\/community\/wp-content\/uploads\/2025\/12\/word-image-15932-20.png 1040w, https:\/\/greenwebpage.com\/community\/wp-content\/uploads\/2025\/12\/word-image-15932-20-300x30.png 300w, https:\/\/greenwebpage.com\/community\/wp-content\/uploads\/2025\/12\/word-image-15932-20-1024x103.png 1024w, https:\/\/greenwebpage.com\/community\/wp-content\/uploads\/2025\/12\/word-image-15932-20-768x78.png 768w\" sizes=\"(max-width: 1040px) 100vw, 1040px\" \/><\/figure>\n\n\n\n<p><\/p>\n\n\n\n<h2 class=\"wp-block-heading\" id=\"Method-5:-Using-the-Node-Version-Manager\"><a id=\"post-15932-_4nc5wxhdmf4v\"><\/a>Method 5: Using the Node Version Manager<\/h2>\n\n\n\n<p>Node Version Manager is a tool that allows users to switch easily between different Node.js versions on their system. The Node Version Manager allows you to install and use different Node.js without interfering. Follow these steps:<\/p>\n\n\n\n<h3 class=\"wp-block-heading\"><a id=\"post-15932-_hll39k7wt6w6\"><\/a>Step 1: Download and Install NVM on Debian 13<\/h3>\n\n\n\n<p>You need to first download the NVM (Network Virtual Machine) from GitHub, and then install it using the following command on your Debian 13 System:<\/p>\n\n\n\n<figure class=\"wp-block-table\"><table class=\"has-fixed-layout\"><thead><tr><th>\n<p>curl https:\/\/raw.githubusercontent.com\/nvm-sh\/nvm\/master\/install.sh | bash<\/p>\n<\/th><\/tr><\/thead><\/table><\/figure>\n\n\n\n<figure class=\"wp-block-image\"><img loading=\"lazy\" decoding=\"async\" width=\"1046\" height=\"551\" src=\"http:\/\/greenwebpage.com\/community\/wp-content\/uploads\/2025\/12\/word-image-15932-21.png\" alt=\"curl https:\/\/raw.githubusercontent.com\/nvm-sh\/nvm\/master\/install.sh | bash\" class=\"wp-image-15953\" srcset=\"https:\/\/greenwebpage.com\/community\/wp-content\/uploads\/2025\/12\/word-image-15932-21.png 1046w, https:\/\/greenwebpage.com\/community\/wp-content\/uploads\/2025\/12\/word-image-15932-21-300x158.png 300w, https:\/\/greenwebpage.com\/community\/wp-content\/uploads\/2025\/12\/word-image-15932-21-1024x539.png 1024w, https:\/\/greenwebpage.com\/community\/wp-content\/uploads\/2025\/12\/word-image-15932-21-768x405.png 768w\" sizes=\"(max-width: 1046px) 100vw, 1046px\" \/><\/figure>\n\n\n\n<p><\/p>\n\n\n\n<p>Type the command below or restart the terminal to save your changes.<\/p>\n\n\n\n<figure class=\"wp-block-table\"><table class=\"has-fixed-layout\"><thead><tr><th>\n<p>source ~\/.bashrc<\/p>\n<\/th><\/tr><\/thead><\/table><\/figure>\n\n\n\n<figure class=\"wp-block-image\"><img loading=\"lazy\" decoding=\"async\" width=\"1041\" height=\"75\" src=\"http:\/\/greenwebpage.com\/community\/wp-content\/uploads\/2025\/12\/word-image-15932-22.png\" alt=\"source ~\/.bashrc\" class=\"wp-image-15954\" srcset=\"https:\/\/greenwebpage.com\/community\/wp-content\/uploads\/2025\/12\/word-image-15932-22.png 1041w, https:\/\/greenwebpage.com\/community\/wp-content\/uploads\/2025\/12\/word-image-15932-22-300x22.png 300w, https:\/\/greenwebpage.com\/community\/wp-content\/uploads\/2025\/12\/word-image-15932-22-1024x74.png 1024w, https:\/\/greenwebpage.com\/community\/wp-content\/uploads\/2025\/12\/word-image-15932-22-768x55.png 768w\" sizes=\"(max-width: 1041px) 100vw, 1041px\" \/><\/figure>\n\n\n\n<p><\/p>\n\n\n\n<h3 class=\"wp-block-heading\"><a id=\"post-15932-_3pf3u0cwl6in\"><\/a>Step 2: List Available Node.js Versions<\/h3>\n\n\n\n<p>Choose the Node.js version you wish to install on Debian 13:<\/p>\n\n\n\n<figure class=\"wp-block-table\"><table class=\"has-fixed-layout\"><thead><tr><th>\n<p>nvm ls-remote<\/p>\n<\/th><\/tr><\/thead><\/table><\/figure>\n\n\n\n<figure class=\"wp-block-image\"><img loading=\"lazy\" decoding=\"async\" width=\"1039\" height=\"406\" src=\"http:\/\/greenwebpage.com\/community\/wp-content\/uploads\/2025\/12\/word-image-15932-23.png\" alt=\"nvm ls-remote\" class=\"wp-image-15955\" srcset=\"https:\/\/greenwebpage.com\/community\/wp-content\/uploads\/2025\/12\/word-image-15932-23.png 1039w, https:\/\/greenwebpage.com\/community\/wp-content\/uploads\/2025\/12\/word-image-15932-23-300x117.png 300w, https:\/\/greenwebpage.com\/community\/wp-content\/uploads\/2025\/12\/word-image-15932-23-1024x400.png 1024w, https:\/\/greenwebpage.com\/community\/wp-content\/uploads\/2025\/12\/word-image-15932-23-768x300.png 768w\" sizes=\"(max-width: 1039px) 100vw, 1039px\" \/><\/figure>\n\n\n\n<p><\/p>\n\n\n\n<h3 class=\"wp-block-heading\"><a id=\"post-15932-_p4lvuvtfjldv\"><\/a>Step 3: Install Node.js<\/h3>\n\n\n\n<p>Use the &#8220;nvm Install&#8221; command to install the specific Node.js version. Then, specify the version you want to install. We are now downloading &#8220;24.11.1&#8221;, the Node.js Version:<\/p>\n\n\n\n<figure class=\"wp-block-table\"><table class=\"has-fixed-layout\"><thead><tr><th>\n<p>nvm install 24.11.1<\/p>\n<\/th><\/tr><\/thead><\/table><\/figure>\n\n\n\n<figure class=\"wp-block-image\"><img loading=\"lazy\" decoding=\"async\" width=\"1048\" height=\"257\" src=\"http:\/\/greenwebpage.com\/community\/wp-content\/uploads\/2025\/12\/word-image-15932-24.png\" alt=\"nvm install 24.11.1\" class=\"wp-image-15956\" srcset=\"https:\/\/greenwebpage.com\/community\/wp-content\/uploads\/2025\/12\/word-image-15932-24.png 1048w, https:\/\/greenwebpage.com\/community\/wp-content\/uploads\/2025\/12\/word-image-15932-24-300x74.png 300w, https:\/\/greenwebpage.com\/community\/wp-content\/uploads\/2025\/12\/word-image-15932-24-1024x251.png 1024w, https:\/\/greenwebpage.com\/community\/wp-content\/uploads\/2025\/12\/word-image-15932-24-768x188.png 768w\" sizes=\"(max-width: 1048px) 100vw, 1048px\" \/><\/figure>\n\n\n\n<p><\/p>\n\n\n\n<p>You can also verify Node.js versions:<\/p>\n\n\n\n<figure class=\"wp-block-table\"><table class=\"has-fixed-layout\"><thead><tr><th>\n<p>node -v<\/p>\n<\/th><\/tr><\/thead><\/table><\/figure>\n\n\n\n<figure class=\"wp-block-image\"><img loading=\"lazy\" decoding=\"async\" width=\"1041\" height=\"105\" src=\"http:\/\/greenwebpage.com\/community\/wp-content\/uploads\/2025\/12\/word-image-15932-25.png\" alt=\"node -v\" class=\"wp-image-15957\" srcset=\"https:\/\/greenwebpage.com\/community\/wp-content\/uploads\/2025\/12\/word-image-15932-25.png 1041w, https:\/\/greenwebpage.com\/community\/wp-content\/uploads\/2025\/12\/word-image-15932-25-300x30.png 300w, https:\/\/greenwebpage.com\/community\/wp-content\/uploads\/2025\/12\/word-image-15932-25-1024x103.png 1024w, https:\/\/greenwebpage.com\/community\/wp-content\/uploads\/2025\/12\/word-image-15932-25-768x77.png 768w\" sizes=\"(max-width: 1041px) 100vw, 1041px\" \/><\/figure>\n\n\n\n<p><\/p>\n\n\n\n<h2 class=\"wp-block-heading\" id=\"How-to-Remove-Node.js-From-Debian-13\"><a id=\"post-15932-_cv4apv8jsesb\"><\/a>How to Remove Node.js From Debian 13<\/h2>\n\n\n\n<p>You can uninstall\/remove Node.js from your Debian 13 computer based on how you installed it. The following are the Node.js Removal Methods on Debian 13.<\/p>\n\n\n\n<h3 class=\"wp-block-heading\"><a id=\"post-15932-_v71auy19y79\"><\/a>If Installed From the Debian\/NodeSource Repository or Installation Script<\/h3>\n\n\n\n<p>Use the following command to uninstall Node.js installed by default from Debian, the installation script, or the NodeSource repository:<\/p>\n\n\n\n<figure class=\"wp-block-table\"><table class=\"has-fixed-layout\"><thead><tr><th>\n<p>sudo apt remove nodejs -y<\/p>\n<\/th><\/tr><\/thead><\/table><\/figure>\n\n\n\n<figure class=\"wp-block-image\"><img loading=\"lazy\" decoding=\"async\" width=\"1044\" height=\"555\" src=\"http:\/\/greenwebpage.com\/community\/wp-content\/uploads\/2025\/12\/word-image-15932-26.png\" alt=\"sudo apt remove nodejs -y\" class=\"wp-image-15958\" srcset=\"https:\/\/greenwebpage.com\/community\/wp-content\/uploads\/2025\/12\/word-image-15932-26.png 1044w, https:\/\/greenwebpage.com\/community\/wp-content\/uploads\/2025\/12\/word-image-15932-26-300x159.png 300w, https:\/\/greenwebpage.com\/community\/wp-content\/uploads\/2025\/12\/word-image-15932-26-1024x544.png 1024w, https:\/\/greenwebpage.com\/community\/wp-content\/uploads\/2025\/12\/word-image-15932-26-768x408.png 768w\" sizes=\"(max-width: 1044px) 100vw, 1044px\" \/><\/figure>\n\n\n\n<p><\/p>\n\n\n\n<p>Remove the NodeSource repository as well as the GPG key.<\/p>\n\n\n\n<figure class=\"wp-block-table\"><table class=\"has-fixed-layout\"><thead><tr><th>\n<p>sudo rm -r \/etc\/apt\/sources.list.d\/nodesource.list &amp;&amp; sudo rm -r \/etc\/apt\/keyrings\/nodesource.gpg<\/p>\n<\/th><\/tr><\/thead><\/table><\/figure>\n\n\n\n<figure class=\"wp-block-image\"><img loading=\"lazy\" decoding=\"async\" width=\"1045\" height=\"102\" src=\"http:\/\/greenwebpage.com\/community\/wp-content\/uploads\/2025\/12\/word-image-15932-27.png\" alt=\"sudo rm -r \/etc\/apt\/sources.list.d\/nodesource.list &amp;&amp; sudo rm -r \/etc\/apt\/keyrings\/nodesource.gpg\" class=\"wp-image-15959\" srcset=\"https:\/\/greenwebpage.com\/community\/wp-content\/uploads\/2025\/12\/word-image-15932-27.png 1045w, https:\/\/greenwebpage.com\/community\/wp-content\/uploads\/2025\/12\/word-image-15932-27-300x29.png 300w, https:\/\/greenwebpage.com\/community\/wp-content\/uploads\/2025\/12\/word-image-15932-27-1024x100.png 1024w, https:\/\/greenwebpage.com\/community\/wp-content\/uploads\/2025\/12\/word-image-15932-27-768x75.png 768w\" sizes=\"(max-width: 1045px) 100vw, 1045px\" \/><\/figure>\n\n\n\n<p><\/p>\n\n\n\n<h3 class=\"wp-block-heading\"><a id=\"post-15932-_lfcb7zfzfu2x\"><\/a>If Installed From Source Code<\/h3>\n\n\n\n<p>Use the following command to remove Node.js if you installed it using the source code:<\/p>\n\n\n\n<figure class=\"wp-block-table\"><table class=\"has-fixed-layout\"><thead><tr><th>\n<p>sudo find \/home\/debian13 -depth -iname &#8216;node*&#8217; -exec rm -rf {} \\;<\/p>\n<\/th><\/tr><\/thead><\/table><\/figure>\n\n\n\n<figure class=\"wp-block-image\"><img loading=\"lazy\" decoding=\"async\" width=\"1045\" height=\"105\" src=\"http:\/\/greenwebpage.com\/community\/wp-content\/uploads\/2025\/12\/word-image-15932-28.png\" alt=\"sudo find \/home\/debian13 -depth -iname 'node*' -exec rm -rf {} \\;\" class=\"wp-image-15960\" srcset=\"https:\/\/greenwebpage.com\/community\/wp-content\/uploads\/2025\/12\/word-image-15932-28.png 1045w, https:\/\/greenwebpage.com\/community\/wp-content\/uploads\/2025\/12\/word-image-15932-28-300x30.png 300w, https:\/\/greenwebpage.com\/community\/wp-content\/uploads\/2025\/12\/word-image-15932-28-1024x103.png 1024w, https:\/\/greenwebpage.com\/community\/wp-content\/uploads\/2025\/12\/word-image-15932-28-768x77.png 768w\" sizes=\"(max-width: 1045px) 100vw, 1045px\" \/><\/figure>\n\n\n\n<p><\/p>\n\n\n\n<p>Please replace &#8220;\/home\/debian13\/&#8221; with the desired directory path.<\/p>\n\n\n\n<h3 class=\"wp-block-heading\"><a id=\"post-15932-_d6fsy3mo7buo\"><\/a>If Installed Using Node Version Manager(NVM)<\/h3>\n\n\n\n<p>You can uninstall Node.js from your system if it is installed via NVM. Use the &#8220;nvm Uninstall&#8221; command. If you wish to remove the current version, you must first deactivate it.<\/p>\n\n\n\n<p>Check out the current version by:<\/p>\n\n\n\n<figure class=\"wp-block-table\"><table class=\"has-fixed-layout\"><thead><tr><th>\n<p>nvm current<\/p>\n<\/th><\/tr><\/thead><\/table><\/figure>\n\n\n\n<figure class=\"wp-block-image\"><img loading=\"lazy\" decoding=\"async\" width=\"1046\" height=\"102\" src=\"http:\/\/greenwebpage.com\/community\/wp-content\/uploads\/2025\/12\/word-image-15932-29.png\" alt=\"nvm current\" class=\"wp-image-15961\" srcset=\"https:\/\/greenwebpage.com\/community\/wp-content\/uploads\/2025\/12\/word-image-15932-29.png 1046w, https:\/\/greenwebpage.com\/community\/wp-content\/uploads\/2025\/12\/word-image-15932-29-300x29.png 300w, https:\/\/greenwebpage.com\/community\/wp-content\/uploads\/2025\/12\/word-image-15932-29-1024x100.png 1024w, https:\/\/greenwebpage.com\/community\/wp-content\/uploads\/2025\/12\/word-image-15932-29-768x75.png 768w\" sizes=\"(max-width: 1046px) 100vw, 1046px\" \/><\/figure>\n\n\n\n<p><\/p>\n\n\n\n<p>Deactivate the version you are using by executing the command given:<\/p>\n\n\n\n<figure class=\"wp-block-table\"><table class=\"has-fixed-layout\"><thead><tr><th>\n<p>nvm deactivate<\/p>\n<\/th><\/tr><\/thead><\/table><\/figure>\n\n\n\n<figure class=\"wp-block-image\"><img loading=\"lazy\" decoding=\"async\" width=\"1038\" height=\"102\" src=\"http:\/\/greenwebpage.com\/community\/wp-content\/uploads\/2025\/12\/word-image-15932-30.png\" alt=\"nvm deactivate\" class=\"wp-image-15962\" srcset=\"https:\/\/greenwebpage.com\/community\/wp-content\/uploads\/2025\/12\/word-image-15932-30.png 1038w, https:\/\/greenwebpage.com\/community\/wp-content\/uploads\/2025\/12\/word-image-15932-30-300x29.png 300w, https:\/\/greenwebpage.com\/community\/wp-content\/uploads\/2025\/12\/word-image-15932-30-1024x101.png 1024w, https:\/\/greenwebpage.com\/community\/wp-content\/uploads\/2025\/12\/word-image-15932-30-768x75.png 768w\" sizes=\"(max-width: 1038px) 100vw, 1038px\" \/><\/figure>\n\n\n\n<p><\/p>\n\n\n\n<p>This article covers the installation and use of Node.js in Debian 13.<\/p>\n\n\n\n<h2 class=\"wp-block-heading\" id=\"Conclusion\"><a id=\"post-15932-_fa2xlrbaoc8k\"><\/a>Conclusion<\/h2>\n\n\n\n<p>Node.js can be installed on Debian 13 using the NodeSource repository or source code. The installation script method and the NodeSource repository method provide the most recent and current version of Node.js for the Debian 13 operating system. The Node Version Manager method is another way to install multiple Node.js versions and switch to your desired version. This guide has explained how to install, remove, and use Node.js in Debian 13.<\/p>\n\n    <div class=\"xs_social_share_widget xs_share_url after_content \t\tmain_content  wslu-style-1 wslu-share-box-shaped wslu-fill-colored wslu-none wslu-share-horizontal wslu-theme-font-no wslu-main_content\">\n\n\t\t\n        <ul>\n\t\t\t        <\/ul>\n    <\/div> \n","protected":false},"excerpt":{"rendered":"<p>Node.js, a free runtime environment, is used to run JavaScript on the server (independently from a web browser). It is a powerful tool for creating web applications because it can handle multiple requests simultaneously without being blocked. It is also a cross-platform application that can run on Windows, macOS, and various Linux distributions, including Debian [&hellip;]<\/p>\n","protected":false},"author":2,"featured_media":15966,"comment_status":"open","ping_status":"open","sticky":false,"template":"","format":"standard","meta":{"footnotes":""},"categories":[43],"tags":[933,428,278,350],"class_list":["post-15932","post","type-post","status-publish","format-standard","has-post-thumbnail","hentry","category-tutorials","tag-debian-13","tag-javascript","tag-node-js","tag-web-development"],"yoast_head":"<!-- This site is optimized with the Yoast SEO plugin v26.5 - https:\/\/yoast.com\/wordpress\/plugins\/seo\/ -->\n<title>How to Install Node.js on Debian 13 - Greenwebpage Community<\/title>\n<meta name=\"description\" content=\"This guide will show you how to install Node.js on Debian 13 with the help of five different methods. Learn more!\" \/>\n<meta name=\"robots\" content=\"index, follow, max-snippet:-1, max-image-preview:large, max-video-preview:-1\" \/>\n<link rel=\"canonical\" href=\"https:\/\/greenwebpage.com\/community\/how-to-install-node-js-on-debian-13\/\" \/>\n<meta property=\"og:locale\" content=\"en_US\" \/>\n<meta property=\"og:type\" content=\"article\" \/>\n<meta property=\"og:title\" content=\"How to Install Node.js on Debian 13 - Greenwebpage Community\" \/>\n<meta property=\"og:description\" content=\"This guide will show you how to install Node.js on Debian 13 with the help of five different methods. Learn more!\" \/>\n<meta property=\"og:url\" content=\"https:\/\/greenwebpage.com\/community\/how-to-install-node-js-on-debian-13\/\" \/>\n<meta property=\"og:site_name\" content=\"Greenwebpage Community\" \/>\n<meta property=\"article:published_time\" content=\"2025-12-13T12:26:13+00:00\" \/>\n<meta property=\"article:modified_time\" content=\"2025-12-14T10:47:24+00:00\" \/>\n<meta property=\"og:image\" content=\"http:\/\/greenwebpage.com\/community\/wp-content\/uploads\/2025\/12\/How-to-install-node.js-ON-DEBIAN-13.jpg\" \/>\n\t<meta property=\"og:image:width\" content=\"1020\" \/>\n\t<meta property=\"og:image:height\" content=\"600\" \/>\n\t<meta property=\"og:image:type\" content=\"image\/jpeg\" \/>\n<meta name=\"author\" content=\"Karim Buzdar\" \/>\n<meta name=\"twitter:card\" content=\"summary_large_image\" \/>\n<meta name=\"twitter:label1\" content=\"Written by\" \/>\n\t<meta name=\"twitter:data1\" content=\"Karim Buzdar\" \/>\n\t<meta name=\"twitter:label2\" content=\"Est. reading time\" \/>\n\t<meta name=\"twitter:data2\" content=\"12 minutes\" \/>\n<script type=\"application\/ld+json\" class=\"yoast-schema-graph\">{\"@context\":\"https:\/\/schema.org\",\"@graph\":[{\"@type\":\"Article\",\"@id\":\"https:\/\/greenwebpage.com\/community\/how-to-install-node-js-on-debian-13\/#article\",\"isPartOf\":{\"@id\":\"https:\/\/greenwebpage.com\/community\/how-to-install-node-js-on-debian-13\/\"},\"author\":{\"name\":\"Karim Buzdar\",\"@id\":\"https:\/\/greenwebpage.com\/community\/#\/schema\/person\/467c100c1d017bc081473ee0440680c8\"},\"headline\":\"How to Install Node.js on Debian 13\",\"datePublished\":\"2025-12-13T12:26:13+00:00\",\"dateModified\":\"2025-12-14T10:47:24+00:00\",\"mainEntityOfPage\":{\"@id\":\"https:\/\/greenwebpage.com\/community\/how-to-install-node-js-on-debian-13\/\"},\"wordCount\":1359,\"commentCount\":0,\"publisher\":{\"@id\":\"https:\/\/greenwebpage.com\/community\/#organization\"},\"image\":{\"@id\":\"https:\/\/greenwebpage.com\/community\/how-to-install-node-js-on-debian-13\/#primaryimage\"},\"thumbnailUrl\":\"https:\/\/greenwebpage.com\/community\/wp-content\/uploads\/2025\/12\/How-to-install-node.js-ON-DEBIAN-13.jpg\",\"keywords\":[\"Debian 13\",\"JavaScript\",\"Node.js\",\"Web Development\"],\"articleSection\":[\"Tutorials\"],\"inLanguage\":\"en-US\",\"potentialAction\":[{\"@type\":\"CommentAction\",\"name\":\"Comment\",\"target\":[\"https:\/\/greenwebpage.com\/community\/how-to-install-node-js-on-debian-13\/#respond\"]}]},{\"@type\":\"WebPage\",\"@id\":\"https:\/\/greenwebpage.com\/community\/how-to-install-node-js-on-debian-13\/\",\"url\":\"https:\/\/greenwebpage.com\/community\/how-to-install-node-js-on-debian-13\/\",\"name\":\"How to Install Node.js on Debian 13 - Greenwebpage Community\",\"isPartOf\":{\"@id\":\"https:\/\/greenwebpage.com\/community\/#website\"},\"primaryImageOfPage\":{\"@id\":\"https:\/\/greenwebpage.com\/community\/how-to-install-node-js-on-debian-13\/#primaryimage\"},\"image\":{\"@id\":\"https:\/\/greenwebpage.com\/community\/how-to-install-node-js-on-debian-13\/#primaryimage\"},\"thumbnailUrl\":\"https:\/\/greenwebpage.com\/community\/wp-content\/uploads\/2025\/12\/How-to-install-node.js-ON-DEBIAN-13.jpg\",\"datePublished\":\"2025-12-13T12:26:13+00:00\",\"dateModified\":\"2025-12-14T10:47:24+00:00\",\"description\":\"This guide will show you how to install Node.js on Debian 13 with the help of five different methods. Learn more!\",\"breadcrumb\":{\"@id\":\"https:\/\/greenwebpage.com\/community\/how-to-install-node-js-on-debian-13\/#breadcrumb\"},\"inLanguage\":\"en-US\",\"potentialAction\":[{\"@type\":\"ReadAction\",\"target\":[\"https:\/\/greenwebpage.com\/community\/how-to-install-node-js-on-debian-13\/\"]}]},{\"@type\":\"ImageObject\",\"inLanguage\":\"en-US\",\"@id\":\"https:\/\/greenwebpage.com\/community\/how-to-install-node-js-on-debian-13\/#primaryimage\",\"url\":\"https:\/\/greenwebpage.com\/community\/wp-content\/uploads\/2025\/12\/How-to-install-node.js-ON-DEBIAN-13.jpg\",\"contentUrl\":\"https:\/\/greenwebpage.com\/community\/wp-content\/uploads\/2025\/12\/How-to-install-node.js-ON-DEBIAN-13.jpg\",\"width\":1020,\"height\":600,\"caption\":\"How to install node.js ON DEBIAN 13\"},{\"@type\":\"BreadcrumbList\",\"@id\":\"https:\/\/greenwebpage.com\/community\/how-to-install-node-js-on-debian-13\/#breadcrumb\",\"itemListElement\":[{\"@type\":\"ListItem\",\"position\":1,\"name\":\"Home\",\"item\":\"https:\/\/greenwebpage.com\/community\/\"},{\"@type\":\"ListItem\",\"position\":2,\"name\":\"How to Install Node.js on Debian 13\"}]},{\"@type\":\"WebSite\",\"@id\":\"https:\/\/greenwebpage.com\/community\/#website\",\"url\":\"https:\/\/greenwebpage.com\/community\/\",\"name\":\"Greenwebpage Community\",\"description\":\"Get online in three steps with our wide range of web hosting solutions. Choose from professional business to enterprise options designed to meet your needs.\",\"publisher\":{\"@id\":\"https:\/\/greenwebpage.com\/community\/#organization\"},\"potentialAction\":[{\"@type\":\"SearchAction\",\"target\":{\"@type\":\"EntryPoint\",\"urlTemplate\":\"https:\/\/greenwebpage.com\/community\/?s={search_term_string}\"},\"query-input\":{\"@type\":\"PropertyValueSpecification\",\"valueRequired\":true,\"valueName\":\"search_term_string\"}}],\"inLanguage\":\"en-US\"},{\"@type\":\"Organization\",\"@id\":\"https:\/\/greenwebpage.com\/community\/#organization\",\"name\":\"Greenwebpage Community\",\"url\":\"https:\/\/greenwebpage.com\/community\/\",\"logo\":{\"@type\":\"ImageObject\",\"inLanguage\":\"en-US\",\"@id\":\"https:\/\/greenwebpage.com\/community\/#\/schema\/logo\/image\/\",\"url\":\"https:\/\/greenwebpage.com\/community\/wp-content\/uploads\/2023\/10\/cropped-logomic.png\",\"contentUrl\":\"https:\/\/greenwebpage.com\/community\/wp-content\/uploads\/2023\/10\/cropped-logomic.png\",\"width\":512,\"height\":512,\"caption\":\"Greenwebpage Community\"},\"image\":{\"@id\":\"https:\/\/greenwebpage.com\/community\/#\/schema\/logo\/image\/\"}},{\"@type\":\"Person\",\"@id\":\"https:\/\/greenwebpage.com\/community\/#\/schema\/person\/467c100c1d017bc081473ee0440680c8\",\"name\":\"Karim Buzdar\",\"image\":{\"@type\":\"ImageObject\",\"inLanguage\":\"en-US\",\"@id\":\"https:\/\/greenwebpage.com\/community\/#\/schema\/person\/image\/\",\"url\":\"https:\/\/secure.gravatar.com\/avatar\/0628fcbcddd9bc5486245d2cf4a904dbcdeac9ad6c3098f49237094e9d513d0c?s=96&d=mm&r=g\",\"contentUrl\":\"https:\/\/secure.gravatar.com\/avatar\/0628fcbcddd9bc5486245d2cf4a904dbcdeac9ad6c3098f49237094e9d513d0c?s=96&d=mm&r=g\",\"caption\":\"Karim Buzdar\"},\"sameAs\":[\"https:\/\/greenwebpage.com\"],\"url\":\"https:\/\/greenwebpage.com\/community\/author\/karim\/\"}]}<\/script>\n<!-- \/ Yoast SEO plugin. -->","yoast_head_json":{"title":"How to Install Node.js on Debian 13 - Greenwebpage Community","description":"This guide will show you how to install Node.js on Debian 13 with the help of five different methods. Learn more!","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:\/\/greenwebpage.com\/community\/how-to-install-node-js-on-debian-13\/","og_locale":"en_US","og_type":"article","og_title":"How to Install Node.js on Debian 13 - Greenwebpage Community","og_description":"This guide will show you how to install Node.js on Debian 13 with the help of five different methods. Learn more!","og_url":"https:\/\/greenwebpage.com\/community\/how-to-install-node-js-on-debian-13\/","og_site_name":"Greenwebpage Community","article_published_time":"2025-12-13T12:26:13+00:00","article_modified_time":"2025-12-14T10:47:24+00:00","og_image":[{"width":1020,"height":600,"url":"http:\/\/greenwebpage.com\/community\/wp-content\/uploads\/2025\/12\/How-to-install-node.js-ON-DEBIAN-13.jpg","type":"image\/jpeg"}],"author":"Karim Buzdar","twitter_card":"summary_large_image","twitter_misc":{"Written by":"Karim Buzdar","Est. reading time":"12 minutes"},"schema":{"@context":"https:\/\/schema.org","@graph":[{"@type":"Article","@id":"https:\/\/greenwebpage.com\/community\/how-to-install-node-js-on-debian-13\/#article","isPartOf":{"@id":"https:\/\/greenwebpage.com\/community\/how-to-install-node-js-on-debian-13\/"},"author":{"name":"Karim Buzdar","@id":"https:\/\/greenwebpage.com\/community\/#\/schema\/person\/467c100c1d017bc081473ee0440680c8"},"headline":"How to Install Node.js on Debian 13","datePublished":"2025-12-13T12:26:13+00:00","dateModified":"2025-12-14T10:47:24+00:00","mainEntityOfPage":{"@id":"https:\/\/greenwebpage.com\/community\/how-to-install-node-js-on-debian-13\/"},"wordCount":1359,"commentCount":0,"publisher":{"@id":"https:\/\/greenwebpage.com\/community\/#organization"},"image":{"@id":"https:\/\/greenwebpage.com\/community\/how-to-install-node-js-on-debian-13\/#primaryimage"},"thumbnailUrl":"https:\/\/greenwebpage.com\/community\/wp-content\/uploads\/2025\/12\/How-to-install-node.js-ON-DEBIAN-13.jpg","keywords":["Debian 13","JavaScript","Node.js","Web Development"],"articleSection":["Tutorials"],"inLanguage":"en-US","potentialAction":[{"@type":"CommentAction","name":"Comment","target":["https:\/\/greenwebpage.com\/community\/how-to-install-node-js-on-debian-13\/#respond"]}]},{"@type":"WebPage","@id":"https:\/\/greenwebpage.com\/community\/how-to-install-node-js-on-debian-13\/","url":"https:\/\/greenwebpage.com\/community\/how-to-install-node-js-on-debian-13\/","name":"How to Install Node.js on Debian 13 - Greenwebpage Community","isPartOf":{"@id":"https:\/\/greenwebpage.com\/community\/#website"},"primaryImageOfPage":{"@id":"https:\/\/greenwebpage.com\/community\/how-to-install-node-js-on-debian-13\/#primaryimage"},"image":{"@id":"https:\/\/greenwebpage.com\/community\/how-to-install-node-js-on-debian-13\/#primaryimage"},"thumbnailUrl":"https:\/\/greenwebpage.com\/community\/wp-content\/uploads\/2025\/12\/How-to-install-node.js-ON-DEBIAN-13.jpg","datePublished":"2025-12-13T12:26:13+00:00","dateModified":"2025-12-14T10:47:24+00:00","description":"This guide will show you how to install Node.js on Debian 13 with the help of five different methods. Learn more!","breadcrumb":{"@id":"https:\/\/greenwebpage.com\/community\/how-to-install-node-js-on-debian-13\/#breadcrumb"},"inLanguage":"en-US","potentialAction":[{"@type":"ReadAction","target":["https:\/\/greenwebpage.com\/community\/how-to-install-node-js-on-debian-13\/"]}]},{"@type":"ImageObject","inLanguage":"en-US","@id":"https:\/\/greenwebpage.com\/community\/how-to-install-node-js-on-debian-13\/#primaryimage","url":"https:\/\/greenwebpage.com\/community\/wp-content\/uploads\/2025\/12\/How-to-install-node.js-ON-DEBIAN-13.jpg","contentUrl":"https:\/\/greenwebpage.com\/community\/wp-content\/uploads\/2025\/12\/How-to-install-node.js-ON-DEBIAN-13.jpg","width":1020,"height":600,"caption":"How to install node.js ON DEBIAN 13"},{"@type":"BreadcrumbList","@id":"https:\/\/greenwebpage.com\/community\/how-to-install-node-js-on-debian-13\/#breadcrumb","itemListElement":[{"@type":"ListItem","position":1,"name":"Home","item":"https:\/\/greenwebpage.com\/community\/"},{"@type":"ListItem","position":2,"name":"How to Install Node.js on Debian 13"}]},{"@type":"WebSite","@id":"https:\/\/greenwebpage.com\/community\/#website","url":"https:\/\/greenwebpage.com\/community\/","name":"Greenwebpage Community","description":"Get online in three steps with our wide range of web hosting solutions. Choose from professional business to enterprise options designed to meet your needs.","publisher":{"@id":"https:\/\/greenwebpage.com\/community\/#organization"},"potentialAction":[{"@type":"SearchAction","target":{"@type":"EntryPoint","urlTemplate":"https:\/\/greenwebpage.com\/community\/?s={search_term_string}"},"query-input":{"@type":"PropertyValueSpecification","valueRequired":true,"valueName":"search_term_string"}}],"inLanguage":"en-US"},{"@type":"Organization","@id":"https:\/\/greenwebpage.com\/community\/#organization","name":"Greenwebpage Community","url":"https:\/\/greenwebpage.com\/community\/","logo":{"@type":"ImageObject","inLanguage":"en-US","@id":"https:\/\/greenwebpage.com\/community\/#\/schema\/logo\/image\/","url":"https:\/\/greenwebpage.com\/community\/wp-content\/uploads\/2023\/10\/cropped-logomic.png","contentUrl":"https:\/\/greenwebpage.com\/community\/wp-content\/uploads\/2023\/10\/cropped-logomic.png","width":512,"height":512,"caption":"Greenwebpage Community"},"image":{"@id":"https:\/\/greenwebpage.com\/community\/#\/schema\/logo\/image\/"}},{"@type":"Person","@id":"https:\/\/greenwebpage.com\/community\/#\/schema\/person\/467c100c1d017bc081473ee0440680c8","name":"Karim Buzdar","image":{"@type":"ImageObject","inLanguage":"en-US","@id":"https:\/\/greenwebpage.com\/community\/#\/schema\/person\/image\/","url":"https:\/\/secure.gravatar.com\/avatar\/0628fcbcddd9bc5486245d2cf4a904dbcdeac9ad6c3098f49237094e9d513d0c?s=96&d=mm&r=g","contentUrl":"https:\/\/secure.gravatar.com\/avatar\/0628fcbcddd9bc5486245d2cf4a904dbcdeac9ad6c3098f49237094e9d513d0c?s=96&d=mm&r=g","caption":"Karim Buzdar"},"sameAs":["https:\/\/greenwebpage.com"],"url":"https:\/\/greenwebpage.com\/community\/author\/karim\/"}]}},"amp_enabled":true,"_links":{"self":[{"href":"https:\/\/greenwebpage.com\/community\/wp-json\/wp\/v2\/posts\/15932","targetHints":{"allow":["GET"]}}],"collection":[{"href":"https:\/\/greenwebpage.com\/community\/wp-json\/wp\/v2\/posts"}],"about":[{"href":"https:\/\/greenwebpage.com\/community\/wp-json\/wp\/v2\/types\/post"}],"author":[{"embeddable":true,"href":"https:\/\/greenwebpage.com\/community\/wp-json\/wp\/v2\/users\/2"}],"replies":[{"embeddable":true,"href":"https:\/\/greenwebpage.com\/community\/wp-json\/wp\/v2\/comments?post=15932"}],"version-history":[{"count":4,"href":"https:\/\/greenwebpage.com\/community\/wp-json\/wp\/v2\/posts\/15932\/revisions"}],"predecessor-version":[{"id":15982,"href":"https:\/\/greenwebpage.com\/community\/wp-json\/wp\/v2\/posts\/15932\/revisions\/15982"}],"wp:featuredmedia":[{"embeddable":true,"href":"https:\/\/greenwebpage.com\/community\/wp-json\/wp\/v2\/media\/15966"}],"wp:attachment":[{"href":"https:\/\/greenwebpage.com\/community\/wp-json\/wp\/v2\/media?parent=15932"}],"wp:term":[{"taxonomy":"category","embeddable":true,"href":"https:\/\/greenwebpage.com\/community\/wp-json\/wp\/v2\/categories?post=15932"},{"taxonomy":"post_tag","embeddable":true,"href":"https:\/\/greenwebpage.com\/community\/wp-json\/wp\/v2\/tags?post=15932"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}