By downloading and using RuyiSDK, you agree to the license terms and the privacy statement.
Download ruyi
Ruyi provides pre-built binaries for x86_64, riscv64, and aarch64 architectures. Run uname -m
to check your system architecture, then download the appropriate binary.
For x86_64
:
$ wget https://mirror.iscas.ac.cn/ruyisdk/ruyi/releases/0.26.0/ruyi.amd64
For aarch64
:
$ wget https://mirror.iscas.ac.cn/ruyisdk/ruyi/releases/0.26.0/ruyi.arm64
For riscv64
:
$ wget https://mirror.iscas.ac.cn/ruyisdk/ruyi/releases/0.26.0/ruyi.riscv64
This document is time-sensitive. If the links point to an outdated version of Ruyi, visit the RuyiSDK mirror for the latest binaries. You can also find them on GitHub releases.
Install ruyi
Take the x86_64 binary as an example. Add execution permissions to the file:
$ chmod +x ./ruyi.amd64
Move the binary to a directory in your system's PATH
:
$ sudo cp -v ruyi.amd64 /usr/local/bin/ruyi
Ensure the file name is ruyi
.
Run the following command to verify the installation:
$ ruyi version
If the command outputs the version and copyright information, Ruyi is installed successfully. If it fails, check your system environment and repeat the steps.
Use ruyi
Refer to the documentation to learn how to use Ruyi effectively.