Skip to content

Commit f57b92d

Browse files
committed
update nodejs installation instructions
remove reference to `nodejs-legacy`, since apt packages are usually too old, anyway
1 parent 0087065 commit f57b92d

File tree

1 file changed

+6
-8
lines changed

1 file changed

+6
-8
lines changed

CONTRIBUTING.rst

Lines changed: 6 additions & 8 deletions
Original file line numberDiff line numberDiff line change
@@ -24,22 +24,20 @@ Installing Node.js and npm
2424
^^^^^^^^^^^^^^^^^^^^^^^^^^
2525

2626
Building the Notebook from its GitHub source code requires some tools to
27-
create and minify JavaScript components and the CSS.
28-
Namely, that's Node.js and Node's package manager, ``npm``.
27+
create and minify JavaScript components and the CSS,
28+
specifically Node.js and Node's package manager, ``npm``.
29+
It should be node version ≥ 6.0.
2930

3031
If you use ``conda``, you can get them with::
3132

32-
conda install -c javascript nodejs
33+
conda install -c conda-forge nodejs
3334

3435
If you use `Homebrew <http://brew.sh/>`_ on Mac OS X::
3536

3637
brew install node
3738

38-
For Debian/Ubuntu systems, you should use the ``nodejs-legacy`` package instead
39-
of the ``node`` package::
40-
41-
sudo apt-get update
42-
sudo apt-get install nodejs-legacy npm
39+
Installation on Linux may vary, but be aware that the `nodejs` or `npm` packages
40+
included in the system package repository may be too old to work properly.
4341

4442
You can also use the installer from the `Node.js website <https://nodejs.org>`_.
4543

0 commit comments

Comments
 (0)