Edgio support for Node.js runtimes varies according to the version of your @edgio
packages.
- Edgio Applications Version 5: Node.js version 14.19.0
- Edgio Applications Version 6: Node.js version 16.18.0
Although you may use a higher version of Node.js, your app will run using the above version when deployed to Edgio. Therefore, we strongly recommend that you use the Node.js version that corresponds to your Edgio Applications version when developing your web application.
Node.js Installation
The recommended method for installing Node.js is through a version manager like nvm.
-
Install nvm by running the following command:
Bash1curl -o- https://raw.githubusercontent.com/nvm-sh/nvm/v0.39.2/install.sh | bash -
Verify that you have successfully installed nvm by running the following command:
Bash1command -v nvm -
Once you have successfully installed nvm, install Node.js by running one of the following commands:
Bash1nvm install 14 -
Instruct nvm to use the version of Node.js installed in the previous step by running the following command:
Bash1nvm use 14
Package managers
npm is a package manager integrated into Node.
yarn is another very popular package manager.