Update the runtime version

更新时间:
复制 MD 格式

Install a new runtime version

You can run the following command to view the latest runtime versions:

tnvm ls-remote alinode

For example, to install the latest version v3.8.0, which corresponds to the official v8.9.0 LTS version, you can run the following command:

tnvm install alinode-v3.8.0

Switch to the new runtime version

You can run the following command to switch to the new runtime version:

tnvm use alinode-v3.8.0

Restart your application

After you switch to the new runtime version, you must restart your application for the changes to take effect.

Note: After you upgrade the runtime, you may need to reinstall some npm packages that function as extensions.