This repository was archived by the owner on Apr 26, 2024. It is now read-only.
File tree Expand file tree Collapse file tree 1 file changed +22
-0
lines changed
Expand file tree Collapse file tree 1 file changed +22
-0
lines changed Original file line number Diff line number Diff line change @@ -187,6 +187,28 @@ function renderDefaultArticle(
187187 pacman -S nodejs
188188 < span className = "function" > npm</ span >
189189 </ ShellBox >
190+ < h3 > CentOS, Fedora and Red Hat Enterprise Linux</ h3 >
191+ < p className = "t-body1" >
192+ Node.js is available as a module called < code > nodejs</ code > in
193+ CentOS/RHEL 8 and Fedora.
194+ < ShellBox textToCopy = "dnf module install nodejs:" >
195+ dnf module install nodejs:<stream>
196+ </ ShellBox >
197+ where < code > <stream></ code > corresponds to the major version of
198+ Node.js. To see a list of available streams:
199+ < ShellBox textToCopy = "dnf module list nodejs" >
200+ dnf module list nodejs
201+ </ ShellBox >
202+ For example, to install Node.js 12:
203+ < ShellBox textToCopy = "dnf module install nodejs:12" >
204+ dnf module install nodejs:12
205+ </ ShellBox >
206+ For CentOS/RHEL 7 Node.js is available via
207+ < a href = "https://www.softwarecollections.org/en/scls/?search=NodeJS" >
208+ Software Collections
209+ </ a >
210+ .
211+ </ p >
190212 < h3 >
191213 Debian and Ubuntu based Linux distributions, Enterprise Linux/Fedora and
192214 Snap packages
You can’t perform that action at this time.
0 commit comments