For current releases, visit the new downloads page.
By downloading and using RuyiSDK, you agree to the license terms and the privacy statement.
Download RuyiSDK Package Manager
RuyiSDK Package Manager provides pre-built binaries for x86_64, riscv64, and aarch64 architectures.
Install with the script (recommended)
The installer detects your architecture, downloads the latest stable release from the ISCAS mirror first, and installs it to ~/.local/bin/ruyi:
$ curl --proto '=https' --tlsv1.2 -fsSL https://ruyisdk.org/install.sh | shTo install into a system directory, run the script with sudo and pass an explicit install path:
$ curl --proto '=https' --tlsv1.2 -fsSL https://ruyisdk.org/install.sh | sudo sh -s -- --install-dir /usr/local/binManual download
For manual downloads, run uname -m to check your system architecture, then download the appropriate binary.
$ wget https://mirror.iscas.ac.cn/ruyisdk/ruyi/tags/0.52.0/ruyi-0.52.0.amd64$ chmod +x ./ruyi-0.52.0.amd64$ sudo cp -v ./ruyi-0.52.0.amd64 /usr/local/bin/ruyiIf the page does not properly display the download link, you can visit the RuyiSDK mirror for the latest binaries. You can also find them on GitHub releases.
Install RuyiSDK Package Manager
The command above has been automatically generated according to your architecture. Make sure that the binary is installed as ruyi and located in a directory included in your PATH.
Note that the binary file name must be ruyi.
Run the following command to verify the installation:
$ ruyi versionIf the command outputs the version and copyright information, Ruyi is installed successfully. If it fails, check your system environment and repeat the steps.
Enable shell completion
Add the appropriate command to your shell startup file, such as .bashrc or .zshrc.
For Bash:
eval "$(ruyi --output-completion-script=bash)"For Zsh:
#compdef ruyi
eval "$(ruyi --output-completion-script=zsh)"Download RuyiSDK IDE
RuyiSDK IDE has also released binaries for three architectures: x86_64, riscv64, and aarch64.
You can download the tarball suitable for your architecture:
$ wget https://mirror.iscas.ac.cn/ruyisdk/ide/0.0.3/ruyisdk-0.0.3-linux.gtk."$(uname -m)".tar.gzThis document is time-sensitive. If the links point to an outdated version of Ruyi, visit the RuyiSDK mirror for the latest binaries.
Install RuyiSDK IDE
The following demonstrates how to install RuyiSDK IDE into the /opt/ruyisdk directory.
First, create the directory:
$ sudo mkdir /opt/ruyisdkUnpack the tarball. This step requires tar and gunzip, and ensure the downloaded tarball path is adjusted based on your actual location:
$ cd /opt/ruyisdk
$ sudo tar -zxvf ruyisdk-0.0.3-linux.gtk."$(uname -m)".tar.gzRun RuyiSDK IDE:
$ /opt/ruyisdk/ruyisdk/ruyisdkThe RuyiSDK IDE plugin is installed separately while integration work continues:
- Download the latest plugin package from GitHub Releases or the RuyiSDK mirror.
- Follow the installation instructions for that version on GitHub Releases.
Install the RuyiSDK VS Code extension
Download the latest .vsix from GitHub Releases or the RuyiSDK mirror. In VS Code or VSCodium, choose Install from VSIX....
Get started
See the documentation to learn how to use Ruyi.