Install Allure Report for Node.js
Allure Report can be installed on any operating system using Node.js.
Make sure Node.js is installed.
Make sure Java version 8 or above installed, and its directory is specified in the
JAVA_HOMEenvironment variable.In a terminal, run this command:
npm install -g allure-commandlineRun this command to see if it reports the latest version:
allure --versionIf the
allurecommand does not work, it is most likely caused by the NPM's directory not being added to your operating system'sPATHvariable. To get the path that needs to be added, run this command:powershellnpm config get prefixbashecho $(npm config get prefix)/binbashecho $(npm config get prefix)/bin