How to upgrade Node on an Azure?

How to upgrade Node on an Azure?

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:

Azure platform

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

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

    Node settings on Azure
    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
    Node version in environment variables on Azure

If you liked this, please help spread the word by hitting the recommend button below. Thanks!