Installing Autorest

Installing AutoRest on Windows, MacOS or Linux involves two steps:

  1. Install Node.js (8.11.x LTS preferred. Will not function with Node < 7.10. Be Wary of 9.x and 10.x builds until they are LTS)

    for more help, check out Installing Node.JS on different platforms

  2. Install AutoRest using npm
  # Depending on your configuration you may need to be elevated or root to run this. (on OSX/Linux use 'sudo' )
  npm install -g autorest

Updating Autorest

To update AutoRest if you have previous versions installed, please run:

  autorest --latest


  # Removes all other versions and installs the latest
  autorest --reset

For more information, run autorest --help