Appearance
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_HOME
environment variable.In a terminal, run this command:
npm install -g allure-commandline
Run this command to see if it reports the latest version:
allure --version
If the
allure
command does not work, it is most likely caused by the NPM's directory not being added to your operating system'sPATH
variable. To get the path that needs to be added, run this command:powershellnpm config get prefix
bashecho $(npm config get prefix)/bin
bashecho $(npm config get prefix)/bin