Install Allure Report for Linux

Allure Report can be installed on Linux from a Homebrew or DEB package or manually from an archive.

Install from Homebrew

Allure Report commandline Homebrew latest version

  1. Make sure Homebrew is installed.

  2. In a terminal, run this command:

    brew install allure
  3. Run this command to see if it reports the latest version:

    allure --version

Install from a DEB package

Allure Report commandline latest version

  1. Make sure that your Linux distribution supports installing software from DEB packages.

  2. Go to the latest Allure Report release on GitHub and download the allure-*.deb file.

  3. In a terminal, go to the directory with the file and install it. For example:

    sudo dpkg -i allure_2.29.0-1_all.deb
  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 an installation directory of your choice. For example:

    tar xf /home/user/Downloads/allure-2.29.0.tgz -C /home/user/tools
  4. Make sure Allure is in your PATH, so you can invoke it from the command line by just typing allure.

    There are various ways to do so, for example, via the update-alternatives utility or by modifying the PATH variable.

    1. Run the following two commands to register the new path to Allure Report and make it default.

      (Replace /home/user/tools/allure-2.29.0/bin/allure with the path to the allure binary file in your installation directory.)

      sudo update-alternatives --install /ust/bin/allure allure /home/user/tools/allure-2.29.0/bin/allure 10 sudo update-alternatives --set allure /home/user/tools/allure-2.29.0/bin/allure
    2. If you have installed an older version before and do not need it anymore, unregister it, for example:

      sudo update-alternatives --remove allure /home/user/tools/allure-2.28.0/bin/allure
    1. Open the script that your command shell loads when logging in (it can be located at ~/.profile, ~/.bash_profile, ~/.zprofile, etc.) and add the following line to the end of it.

      (Replace /home/user/tools/allure-2.29.0/bin with the path to the bin subdirectory file in your installation directory.)

      Bash
      export PATH=$PATH:/home/user/tools/allure-2.29.0/bin
    2. If you have previously added a path to another version of Allure Report to PATH, make sure to remove it.

    3. Close the current terminal window, then open a new one.

  5. 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.