English
English
简体中文
Register
Log In
English
English
简体中文
Register
Log In
Language
English
English
简体中文
Register
Log In

What is the difference between the npm installation of Tuya command line tool (CLI) in the Panel SDK documentation and the nvm built in the environment? First install nvm or npm install Tuya Toolkit?

Last Updated on2022-05-17 06:18:35
In development, sometimes there are requirements for the version of node, and sometimes it is necessary to switch to the specified node version to reproduce the problem. When encountering this kind of demand, we need to be able to switch the node version flexibly. Nvm was created to solve this problem. It can easily switch between multiple node versions on the same device.
Tuya command line tool mainly executes this command when the panel is packaged.
It is recommended to install nvm and then npm to install the Tuya toolkit.

Click for services and help

Help Center