一、下载最新版安装包

https://github.com/node-red/node-red/releases/latest

获得node-red-3.1.9.zip的安装包

二、安装

  • 先安装Nodejs环境,设定好国内镜像源,推荐淘宝镜像源

    npm config set registry http://registry.npmmirror.com
  • 解压node-red-3.1.9.zip

  • 进入node-red目录,包含package.json

  • productionan安装运行

    npm config set registry http://registry.npmmirror.com