![]() Method 1: Upgrade from Ubuntu's repositories I have version 12.22.9 installed (v12.x).Īt the time of writing this, v18.x and v16.x are the latest and LTS versions, respectively. This is what it looks like on my computer: $ node -v To check the version of Node.js, run the following command: node -v Check Node.js versionīefore you actually upgrade Node.js, do check if the currently installed version is what you want or it is outdated. To know how to do that, continue reading. There are other ways to upgrade Node.js manually. Do so with the following command: sudo apt-get install -only-upgrade nodejs The easiest way to upgrade Node.js is using the apt package manager. ![]() Node.js is an open source JavaScript runtime environment.
0 Comments
Leave a Reply. |