VPN技术 · 2023年11月10日

安装Node.js

nodejs安装

先到Node.js的官方网站找到Source Code的部分下载链接。

下载源码

# cd /usr/local/src
# wget https://nodejs.org/dist/v6.10.0/node-v6.10.0.tar.gz

安装编译要使用的gcc及gcc-c++

# yum install gcc gcc-c++

解压缩并编译

# cd /usr/local/src
# tar zxvf node-v6.10.0.tar.gz
# cd node-v6.10.0
# ./configure
# make && make install

检查版本

#node –v
v6.10.0
OpenMagic API

Need more than content? Move into the product flow.

If you are here for model access, pricing, developer docs, or the future API console, the dedicated product path now lives on api.openmagic.ai.