Prepare your environment and install AntCubeTool.
Preparations
-
Install and configure the Node.js environment.
AntCubeTool (ACT) is built on Node.js. Ensure that Node.js LTS v14 or later is installed and configured. Run the
node -vcommand to check your version. For more information, see the Node.js homepage. -
Install cnpm.
To speed up installation in mainland China, use cnpm, an npm registry mirror. Run the following command to install it. For more information, see the cnpm homepage.
npm install -g cnpm --registry=http://registry.npmmirror.com
Installation
To install ACT, run cnpm install xcube@2.2.0 -g. After installation, you can run the act command on the command line.
cnpm install xcube@2.2.0 -g
Important
Do not use sudo for the installation.
该文章对您有帮助吗?