![]() The PPA will be added to your configuration and your local package cache will be updated automatically. ![]() Note: If you got error " -bash: curl: command not found" it means you do not have curl installed on your server. This will probably have more up-to-date versions of Node.js than the official Ubuntu repositories.įirst, you need to install the PPA in order to get access to its contents. This will allow you to easily install modules and packages to use with Node.js.Īn alternative that can get you a more recent version of Node.js is to add a PPA maintained by NodeSource. In most cases, you'll also want to also install npm, which is the Node.js package manager. ![]() If the package in the repositories suits your needs, this is all that you need to do to get set up with Node.js. In order to get this version, we just have to use the apt package manager: Usually it will not be the latest version, but it should be quite stable. Ubuntu/Debian contains a version of Node.js in its default repositories that can be used to easily provide a consistent experience across multiple servers. Note: Tutorial on how to set up a Node.js application for production is on the way and will be released in few weeks. In this guide, we'll show you 3 ways how to get started with Node.js on an Ubuntu/Debian server. It's still more of a manual process than it should be. By leveraging Javascript on both the front-end and the back-end, development can be more consistent and be designed within the same system.įor as popular as this JavaScript run-time has become, you might be surprised to find out that it actually still isn't very easy to install Node.js on Ubuntu and other Linux distributions. Node.js is a Javascript platform for server-side programming that allows users to build network applications quickly.
0 Comments
Leave a Reply. |
AuthorWrite something about yourself. No need to be fancy, just an overview. ArchivesCategories |