---
title: "Discussion on \"How To Install Nodejs On Ubuntu\" | Hashnode"
description: "Discussion on \"How To Install Nodejs On Ubuntu\". Learn how to install Node.js on Ubuntu efficiently and avoid outdated versions. Choose between manual installation from the official website or using Snap."
url: "https://hashnode.com/posts/how-to-install-nodejs-on-ubuntu/65eec93ec569150f54ef32fe"
---

[Feed](https://hashnode.com/feed) /

Discussion

# [How To Install Nodejs On Ubuntu](https://vrushalikudande.com/how-to-install-nodejs-on-ubuntu?utm_source=hashnode&utm_medium=feed)

Learn how to install Node.js on Ubuntu efficiently and avoid outdated versions. Choose between manual installation from the official website or using Snap.

Mar 11, 2024 · 2 min read · vrushalikudande.com  
Read the article

-   [#nodejs](https://hashnode.com/tag/nodejs)
-   [#ubuntu](https://hashnode.com/tag/ubuntu)
-   [#installation-guide](https://hashnode.com/tag/installation-guide)
-   [#operating-system](https://hashnode.com/tag/operating-system)

## Written by

[Vrushali Kudande](https://hashnode.com/@VrushaliKudande)

@VrushaliKudande

  
[View profile](https://hashnode.com/@VrushaliKudande)

DevOps Enthusiast | Dedicated to Mastering Automation, Cloud Computing, and CI/CD.

## Responses 2

Markdown supported · ⌘↵ to post

[Shubham Kshetre](https://hashnode.com/@ShubhamKshetre)

[Mar 11, 2024](https://hashnode.com/posts/how-to-install-nodejs-on-ubuntu/65eec93ec569150f54ef32fe/comment/65ef3e41c1a5dfc7ffc8055b)

Also, We can update the node version after installation with apt for the latest version of node.

sudo npm install -g n && sudo n latest && node --version

Btw, great start!

[Mar 13, 2024](https://hashnode.com/posts/how-to-install-nodejs-on-ubuntu/65eec93ec569150f54ef32fe/comment/65ef3e41c1a5dfc7ffc8055b#reply-65f17b61ef5d5931da53d5a8)

Thank You ! It's working 👍

[Sayuri Kamble](https://hashnode.com/@sayurikamble)

[Mar 11, 2024](https://hashnode.com/posts/how-to-install-nodejs-on-ubuntu/65eec93ec569150f54ef32fe/comment/65ef0e6e9fa5ecaffc54c92e)

Great start to blogging!

[Vrushali Kudande](https://hashnode.com/@VrushaliKudande)

[Mar 13, 2024](https://hashnode.com/posts/how-to-install-nodejs-on-ubuntu/65eec93ec569150f54ef32fe/comment/65ef0e6e9fa5ecaffc54c92e#reply-65f17a4db8e539985dfcff74)

Thank You !
