Skip to content
Permalink
Browse files

Merge pull request #1022 from nodesource/igsu/update-docs

Igsu/update docs
  • Loading branch information
igsu committed Mar 9, 2020
2 parents 671fa2f + 058d959 commit 72edb0ef442ce42d0f786dee2f20fd0761db1290
Showing with 5 additions and 10 deletions.
  1. +5 −10 README.md
@@ -228,13 +228,11 @@ NodeSource will continue to maintain the following architectures and may add add

**Supported Red Hat® Enterprise Linux® versions:**

* **RHEL 6** (64-bit) - **not available for Node.js 12.x and later**
* **RHEL 7** (64-bit)
* **RHEL 8** (64-bit)

**Supported CentOS versions:**

* **CentOS 6** (64-bit) - **not available for Node.js 12.x and later**
* **CentOS 7** (64-bit)
* **CentOS 8** (64-bit)

@@ -243,9 +241,6 @@ NodeSource will continue to maintain the following architectures and may add add

**Supported Fedora versions:**

* **Fedora 27** (32-bit) - **not available for Node.js 11.x and later** and (64-bit) - **not available for Node.js 12.x and later**
* **Fedora 28** (64-bit) - **available for Node.js 8.11.2 and later**
* **Fedora 29** (64-bit) - **available for Node.js 10.13.0 and later**
* **Fedora 30** (64-bit) - **available for Node.js 10.16.0 and later**
* **Fedora 31** (64-bit) - **available for Node.js 10.17.0 and later**

@@ -309,26 +304,26 @@ yum install gcc-c++ make

[Snaps](https://docs.snapcraft.io/snaps/) are containerized software packages designed to work across cloud, desktop, and IoT devices. They work natively on most popular Linux distributions and feature automatic transactional updates.

The NodeSource-managed Node.js snap contains the Node.js runtime, along the two most widely-used package managers, npm and Yarn. They are delivered from the [snapcraft store](https://snapcraft.io/) and are automatically built and pushed for each supported Node.js release line. Generally you will have a new version of Node.js automatically running on your computer the same day it is released on [nodejs.org](https://nodejs.org/).
The NodeSource-managed Node.js snap contains the Node.js runtime, along with the two most widely-used package managers, npm and Yarn. They are delivered from the [snapcraft store](https://snapcraft.io/) and are automatically built and pushed for each supported Node.js release line. Generally you will have a new version of Node.js automatically running on your computer the same day it is released on [nodejs.org](https://nodejs.org/).

The Node.js snap can currently be installed on Arch Linux,Debian, Fedora, Linux Mint, Manjaro, OpenEmbedded/Yocto, OpernWrt, Solus, Ubuntu and many other distributions built on top these. NodeSource has not tested the Node.js snap on all of these distributions and feedback is welcome in this repository if you run into problems.
The Node.js snap can currently be installed on Arch Linux, Debian, Fedora, Linux Mint, Manjaro, OpenEmbedded/Yocto, OpernWrt, Solus, Ubuntu and many other distributions built on top these. NodeSource has not tested the Node.js snap on all of these distributions and feedback is welcome in this repository if you run into problems.

<a name="snapinstall"></a>
### Installation instructions

The `snap` command ships with Ubuntu, from version 16.04 and later. If you do not have it installed, follow the instructions on snapcraft to install [_snapd_](https://docs.snapcraft.io/core/install).

Snaps are delivered via "channels", for Node.js, the channel names are the major-version number of Node.js. So select a supported Node.js version and install with:
Snaps are delivered via "channels"; for Node.js, the channel names are the major-version number of Node.js. So select a supported Node.js version and install with:

```
sudo snap install node --classic --channel=8
```

Substituting `8` for the major version you want to install. Both LTS and Current versions of Node.js are available via snapcraft.

The `--classic` argument is required here as Node.js needs full access to your system in order to be useful, therefore it needs snap’s "classic confinement". By default, snaps are much more restricted in their ability to access your disk and network and must request special access from you where they need it. Note that on some Linux distributions, the snap confinement mechanisms are not fully support so `--classic` may not be necessary or even supported.
The `--classic` argument is required here as Node.js needs full access to your system in order to be useful, therefore it needs snap’s "classic confinement". By default, snaps are much more restricted in their ability to access your disk and network and must request special access from you where they need it. Note that on some Linux distributions, the snap confinement mechanisms are not fully supported so `--classic` may not be necessary or even supported.

Once installed, the `node`, `npm` and `yarn` commands are available for use and will remain updated for channel you selected.
Once installed, the `node`, `npm` and `yarn` commands are available for use and will remain updated for the channel you selected.

#### Switching channels

0 comments on commit 72edb0e

Please sign in to comment.
You can’t perform that action at this time.