NODE_ENV=production npm run build failed

My configuration have MongoDB as the database. When running the command NODE_ENV=production npm run build, I am returned with an error which says The term ‘NODE_ENV=production’ is not recognized as the name of a cmdlet, function, script file, or operable program.

Am I missing to setup anything on my machine?

[details=“System Information”]

  • Strapi Version: 3.5.4
  • Operating System: Windows 10
  • Database: MongoDB
  • Node Version: 14.16.1
  • NPM Version: 6.14.4