---
title: "Comment by Shubham Kshetre on \"How To Install Nodejs On Ubuntu\" | Hashnode"
description: "Also, We can update the node version after installation with apt for the latest version of node. sudo npm install -g n &amp;&amp; sudo n latest &amp;&amp; node"
url: "https://hashnode.com/posts/how-to-install-nodejs-on-ubuntu/65eec93ec569150f54ef32fe/comment/65ef3e41c1a5dfc7ffc8055b"
---

[Discussion](https://hashnode.com/posts/how-to-install-nodejs-on-ubuntu/65eec93ec569150f54ef32fe)

Comment [How To Install Nodejs On Ubuntu](https://hashnode.com/posts/how-to-install-nodejs-on-ubuntu/65eec93ec569150f54ef32fe)

[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!

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

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

Thank You ! It's working 👍
