Install Allure Report for Node.js

Allure Report commandline npm latest version

Allure Report can be installed on any operating system using Node.js.

  1. Make sure Node.js is installed.

  2. Make sure Java version 8 or above installed, and its directory is specified in the JAVA_HOME environment variable.

  3. In a terminal, run this command:

    npm install -g allure-commandline
  4. 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's PATH variable. To get the path that needs to be added, run this command:

    PowerShell
    npm config get prefix
    Bash
    echo $(npm config get prefix)/bin
    Bash
    echo $(npm config get prefix)/bin

    Alternatively, use npx to run Allure Report. For example:

    npx allure --version
Powered by
logo

Join our newsletter

Join our community

We aim to make Allure Report as reliable and user-friendly as possible, and together with the community, we're here to help when problems arise.

© 2024 Qameta Software Inc. All rights reserved.