Edgio

Install Node.js and npm

Although you may develop your app with any version of Node.js, Edgio Applications runs your projects within a Node.js 16 or 18 runtime environment. Edgio determines the available set of runtime environments according to the version of the Edgio CLI through which your project was deployed.
  • Edgio v6.1.8 or earlier: Node.js version 16.18.0
  • Edgio v6.2.0: Node.js version 18
We strongly recommend that you use the Node.js version that corresponds to your Edgio Applications version when developing your web application.

End-of-Life for Node.js 16 Support

Edgio Applications’s support for Node.js version 16 is undergoing end-of-life. Starting from 7/15/2024, we will no longer support properties that use Node.js version 16. Specifically, you will be prohibited from deploying changes to those properties.
If you are currently using Node.js 16, then we strongly recommend that you perform the following steps prior to 7/15/2024:
  1. Upgrade your application to use Node.js 18 or 20.
  2. Upgrade the Edgio CLI and Edgio dependencies in your project to either v6.2.0 or v7.4.0 or later. We strongly recommend upgrading it to the latest version.
Although Edgio Applications v6.2.0 includes support for Node.js 18, we strongly recommend upgrading to version 7 to take advantage of new functionality, such as real-time analytics (Edge Insights), our new flexible log delivery solution (RTLD), enhanced traffic splitting (Experimentation), Edge Functions, and our latest Security offerings.
Learn how to upgrade to version 7.

Node.js Installation

The recommended method for installing Node.js is through a version manager like nvm.
  1. Install nvm by running the following command:
    Bash
    1curl -o- https://raw.githubusercontent.com/nvm-sh/nvm/v0.39.2/install.sh | bash
  2. Verify that you have successfully installed nvm by running the following command:
    Bash
    1command -v nvm
  3. Once you have successfully installed nvm, install Node.js by running one of the following commands:
    Bash
    1nvm install 16
  4. Instruct nvm to use the version of Node.js installed in the previous step by running the following command:
    Bash
    1nvm use 16

Package managers

npm is a package manager integrated into Node.
yarn is another very popular package manager.