- Home
- Browse Collections
- Software Collections
- NodeJS 8
NodeJS 8 by Software Collections
rh-nodejs8 - A release of Node.js 8 with npm. This Software Collection gives users of RHEL and CentOS access to Node.js programming platform.
EL7 tests
Project homepage Report a bug in the issue trackerInstructions
You can get started in three easy steps:
# 1. Install a package with repository for your system:
# On CentOS, install package centos-release-scl available in CentOS repository:
$ sudo yum install centos-release-scl-rh
# On RHEL, enable RHSCL repository for you system:
$ sudo yum-config-manager --enable rhel-server-rhscl-7-rpms
# 2. Install the collection:
$ sudo yum install rh-nodejs8
# 3. Start using software collections:
$ scl enable rh-nodejs8 bash
The last command runs the Bash shell in the environment with rh-nodejs8 Software Collection enabled. At this point you should be able to use NodeJS just as a normal application. Here are some examples of commands you can run:
$ node my-app.js
$ npm install uglify-js --global
$ uglifyjs my-app.js -o my-app.min.js
In order to view the individual components included in this collection, including additional NodeJS modules, you can run:
$ sudo yum list rh-nodejs8\*
Node.js Software Collection as a Container Image
On CentOS 7 and RHEL 7 you can pull the image with one of the following commands, depending on which variant you prefer:
$ docker pull registry.access.redhat.com/rhscl/nodejs-8-rhel7
$ docker pull centos/nodejs-8-centos7
For more on the docker image follow the link to public source repository: https://github.com/sclorg/s2i-nodejs-container
Documentation
Node.js v8.x Documentation
Product Documentation for Red Hat Software Collections
Node.js 8 Container Image in Red Hat Container Catalog
Using Red Hat Software Collections Container Images
Policy
Community Project: Maintained by upstream communities of developers. The software is cared for, but the developers make no commitments to update the repositories in a timely manner.
Yum Repositories
Operating system | Package with repo | Browse files |
---|---|---|
CentOS 7 |
yum install centos-release-scl-rh |
x86_64 |
RHEL 7 |
yum-config-manager --enable rhel-server-rhscl-7-rpms |
Tags
Rating
Rated by 0 users