Install Allure Report for Windows

Allure Report can be installed on Windows from the Scoop package repository or manually from an archive.

Install from Scoop

Allure Report commandline latest version

  1. Make sure Scoop is installed. See the installation instructions on GitHub.

  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:

    scoop install allure
  4. Run this command to see if it reports the latest version:

    allure --version

Install from an archive

Allure Report commandline latest version

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

  2. Go to the latest Allure Report release on GitHub and download the allure-*.zip or allure-*.tgz archive.

  3. Uncompress the archive into the directory of your choice.

    Remember the path to its bin subdirectory. You will need this path in a future step.

  4. Make sure that the allure command resolves to the allure file from your installation directory.

    There are various ways to do so, for example, via the Control Panel or by running a PowerShell script.

    1. Press Win+R and enter the command: sysdm.cpl to open the System Properties tool.

    2. On the Advanced tab, click Environment variables.

    3. In either the User variables or System variables list, double-click the Path variable to open the editing dialog. Note that editing the system variable requires administrator privileges and affects all users of the computer.

    4. In the Edit environment variable dialog, click New to add a new line entry to the paths list. In the new line, specify the full path to the bin subdirectory from an earlier step, for example: D:\Tools\allure-2.29.0\bin.

    5. If the list contains a path to a previously installed Allure version, delete it.

    6. Click OK to save the changes.

    1. Launch PowerShell and run the following three commands.

      (Replace D:\Tools\allure-2.29.0\bin with the path to the bin subdirectory from an earlier step.)

      PowerShell
      $AllureBinPath = "D:\Tools\allure-2.29.0\bin" $NewPath = (([Environment]::GetEnvironmentVariable("PATH", "User") -split ";") | ?{ $_ -and $_ -notlike "*\allure-*\bin" }) -join ";" [Environment]::SetEnvironmentVariable("PATH", "$NewPath;$AllureBinPath", "User")
    2. Close the current PowerShell window.

  5. In a new PowerShell window, run this command to see if it reports the latest version:

    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.