Skip to main content
tip

For current releases, visit the new downloads page.

tip

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.

The installer detects your architecture, downloads the latest stable release from the ISCAS mirror first, and installs it to ~/.local/bin/ruyi:

bash
$ curl --proto '=https' --tlsv1.2 -fsSL https://ruyisdk.org/install.sh | sh

To install into a system directory, run the script with sudo and pass an explicit install path:

bash
$ curl --proto '=https' --tlsv1.2 -fsSL https://ruyisdk.org/install.sh | sudo sh -s -- --install-dir /usr/local/bin

Manual download

For manual downloads, run uname -m to check your system architecture, then download the appropriate binary.

Select Architecture:
$ wget https://mirror.iscas.ac.cn/ruyisdk/ruyi/tags/0.52.0/ruyi-0.52.0.amd64
After downloading, please execute the following commands based on the actual filename in the link above (commands will be automatically updated with architecture):
$ chmod +x ./ruyi-0.52.0.amd64
$ sudo cp -v ./ruyi-0.52.0.amd64 /usr/local/bin/ruyi
tip

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

tip

Note that the binary file name must be ruyi.

Run the following command to verify the installation:

bash
$ 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.

Enable shell completion

Add the appropriate command to your shell startup file, such as .bashrc or .zshrc.

For Bash:

bash
eval "$(ruyi --output-completion-script=bash)"

For Zsh:

bash
#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:

bash
$ wget https://mirror.iscas.ac.cn/ruyisdk/ide/0.0.3/ruyisdk-0.0.3-linux.gtk."$(uname -m)".tar.gz
tip

This 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:

bash
$ sudo mkdir /opt/ruyisdk

Unpack the tarball. This step requires tar and gunzip, and ensure the downloaded tarball path is adjusted based on your actual location:

bash
$ cd /opt/ruyisdk
$ sudo tar -zxvf ruyisdk-0.0.3-linux.gtk."$(uname -m)".tar.gz

Run RuyiSDK IDE:

bash
$ /opt/ruyisdk/ruyisdk/ruyisdk

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