Skip to content

Installation

Tobi edited this page Feb 18, 2021 · 5 revisions

Chapters

Installing independently of system

$ cargo install raptr

Installing on Linux

You can install raptr via snapcraft:

$ sudo snap install raptr

Installing on MacOS

Download the pre-built binary (it has the word "macOS" in its name), rename it to just raptr, and add it to your path.

Open the config file of the shell you are using. In this case, bash:

$ nano ~/.bash_profile

Add the path to your downloaded raptr binary to the PATH variable:

export PATH="/path/to/raptr/:$PATH"

Save and exit the file. Open a new terminal and you're good to go!

Installing on Windows

Download the pre-built binary and add the location to your PATH variable (assuming you are using Windows 10:

  • right-click on the Windows icon on the bottom left corner
  • click "System"
  • click "Advanced System Settings"
  • click "Environment Variables"
  • select the PATH variable and click "edit"
  • click "New" and add the path to the raptr executable to the list
  • click "OK" a few times and confirm
  • enjoy!

Installing on any other system:

Compile it yourself. You need to have Rust and Git installed on your system:

$ git clone https://github.com/CodeF0x/raptr
$ cd raptr
$ cargo build --release

The resulting binary will be in the ./target/release directory.

Clone this wiki locally