Installation and Configuration

Currently Ract has been released to crate.io and Github, you can choose either installation method

crate.io

We have released it to crate.io, so you can also install it directly using cargo

NOTE

Although you may find that the current Ract version on crate.io is v0.1.2, it is actually v0.1.1 released on Github

1cargo install ract

That's pretty simple, right? If you installed the rust toolchain correctly, this is what it will look like. You can just use it.

1ract --version

Github Releases

Please select the latest version in Ract Releases and install it according to your operating system

TIP

If there is no corresponding operating system, please select the source package and install Rust toolchain to compile it yourself

Linux corresponds to Ubuntu

WARNING

Your computer may prompt security issues, please select Allow

You can configure ract as a global command in the following ways:

Macos | Linux
Windows
1# copy download ract to /usr/local/bin
2sudo cp /path/to/download/ract /usr/local/bin/ract/ract
3
4# add permission
5sudo chmod 755 /usr/local/bin/ract
6sudo chmod 755 /usr/local/bin/ract/ract
7
8# confirm permission
9sudo chown -R $(whoami) /usr/local/bin/ract
10
11# echo to .zshrc
12echo 'export PATH="/usr/local/bin/ract:$PATH"' >> ~/.zshrc
13
14# fresh zshrc
15source ~/.zshrc
16
17# get version
18ract --version
Table of Contents