If you are on macOS and you have brew (Homebrew) installed, the simplest way to install n is to just do it with brew: brew install nĪlternatively, you can use the custom install script: curl -L | bash The main issue with it is that it does not support Windows, so if Windows is your operative system, this is not an option for you! The reason why I like it is because it is quite simple to install and use and it is generally up to date with the latest releases of Node.js. My favourite Node.js version manager is n by TJ Holowaychuk. Since installing Node.js using a version manager seems to be the favourite option (and it's also my personal favourite!) let's start with it. If you are still wondering which release should you use, going with the Active LTS is almost always the best choice, especially if you are building production applications. At the time of writing (December 2020), this how the timeline looks like: Node.js publishes an official timeline of current and future releases. This is generally a release dedicated to people maintaining Node.js or developers who want to explore new experimental features that haven't been yet included in any of the major releases. The most recent LTS is also called Active LTS, while previous LTS versions (still under the 30 months support timeframe) are called Maintenance LTS.įinally, the release coming from the current master branch is considered Unstable. This makes LTS releases particularly suitable for production deployments.
0 Comments
Leave a Reply. |
AuthorWrite something about yourself. No need to be fancy, just an overview. ArchivesCategories |