浏览代码

[docs] How to get more recent npm installed

Romain Rigaux 4 年之前
父节点
当前提交
27626876f3
共有 1 个文件被更改,包括 5 次插入2 次删除
  1. 5 2
      docs/docs-site/content/administrator/installation/dependencies/_index.md

+ 5 - 2
docs/docs-site/content/administrator/installation/dependencies/_index.md

@@ -262,8 +262,6 @@ This is a verified step-by-step guide on how to get up and running on a fresh in
 
 ## NodeJs
 
-Version 12+ is needed.
-
 e.g. how to install on Ubuntu:
 
     curl -sL https://deb.nodesource.com/setup_14.x | sudo bash -
@@ -272,6 +270,11 @@ e.g. how to install on Ubuntu:
 For Centos / Red Hat use this source:
 
     curl -sL https://rpm.nodesource.com/setup_14.x | sudo bash -
+    sudo yum install -y nodejs
+
+Upgrade to npm 7+:
+
+    npm install --global npm
 
 ## Installing Python 2.7