How to upgrade Node on an Azure?


azure node nodejs Tutorials

In this simple post, we will look for some ways how to upgrade the Node version on an Azure platform.

Package.json

This is the most popular way for various cloud platforms. Just add an engines property with node version to package.json file:

"engines": {
    "node": "14.4.0"
}

Azure platform

  1. Go to your app on Azure and open “Configuration” in the left sidebar:

    Configuration of app on Azure

  2. Click on “General settings” tab. Now you can specify Node version:

    Node settings on Azure

  3. You can check Node version by visiting https://<your-app>.scm.azurewebsites.net/Env#envVariables. So, FRAMEWORK and FRAMEWORK_VERSION variables contains the information about Node:

    Node version in environment variables on Azure

comments powered by Disqus