File tree Expand file tree Collapse file tree 1 file changed +19
-0
lines changed Expand file tree Collapse file tree 1 file changed +19
-0
lines changed Original file line number Diff line number Diff line change @@ -359,51 +359,70 @@ The Nodesource RPM package signing key is available here: https://rpm.nodesource
359
359
# Run on RHEL, CentOS, CloudLinux, Amazon Linux or Fedora:
360
360
361
361
# Node.js v16.x
362
+
362
363
As root
364
+
363
365
curl -fsSL https://rpm.nodesource.com/setup_16.x | bash -
364
366
365
367
No root privileges
368
+
366
369
curl -fsSL https://rpm.nodesource.com/setup_16.x | sudo bash -
367
370
368
371
# Node.js v15.x
372
+
369
373
As root
374
+
370
375
curl -fsSL https://rpm.nodesource.com/setup_15.x | bash -
371
376
372
377
No root privileges
378
+
373
379
curl -fsSL https://rpm.nodesource.com/setup_15.x | sudo bash -
374
380
375
381
# Node.js v14.x
382
+
376
383
As root
384
+
377
385
curl -fsSL https://rpm.nodesource.com/setup_14.x | bash -
378
386
379
387
No root privileges
388
+
380
389
curl -fsSL https://rpm.nodesource.com/setup_14.x | sudo bash -
381
390
382
391
# Node.js v12.x
392
+
383
393
As root
394
+
384
395
curl -fsSL https://rpm.nodesource.com/setup_12.x | bash -
385
396
386
397
No root privileges
398
+
387
399
curl -fsSL https://rpm.nodesource.com/setup_12.x | sudo bash -
388
400
389
401
# Node.js LTS (14.x)
402
+
390
403
As root
404
+
391
405
curl -fsSL https://rpm.nodesource.com/setup_lts.x | bash -
392
406
393
407
No root privileges
408
+
394
409
curl -fsSL https://rpm.nodesource.com/setup_lts.x | sudo bash -
395
410
396
411
# Node.js Current (16.x)
412
+
397
413
As root
414
+
398
415
curl -fsSL https://rpm.nodesource.com/setup_current.x | bash -
399
416
400
417
No root privileges
418
+
401
419
curl -fsSL https://rpm.nodesource.com/setup_current.x | sudo bash -
402
420
403
421
404
422
# Optional: install build tools
405
423
406
424
To compile and install native addons from npm you may also need to install build tools:
425
+
407
426
yum install gcc-c++ make
408
427
or: yum groupinstall 'Development Tools'
409
428
You can’t perform that action at this time.
0 commit comments