A command-line tool for automatic update and management of Rime Oh-my-rime configuration, supporting Windows, Linux, and macOS.

golang.org/x/sys/windows/registry packageYou can download pre-compiled versions from the Releases page:
GUI Version:
.dmg file.exe installerCLI Version:
oh-my-rime-cli-windows.exeoh-my-rime-cli-linuxoh-my-rime-cli-darwin⚠️ Important Reminder: Since the project is not code-signed, Windows Defender and other antivirus software may falsely report it as a virus. For example, macOS may show an error when opening the DMG:

You need to allow it in Security & Privacy settings, and then opening the App may require another permission:

This is a common issue with Go-compiled programs. Please:
Build directly on Windows:
# Recommended to run in Windows command line
cd oh-my-rime-cli
go build -o oh-my-rime-cli.exe .
Build on macOS or Linux:
cd oh-my-rime-cli
go build -o oh-my-rime-cli .
Build Windows executable on macOS/Linux:
GOOS=windows GOARCH=amd64 go build -o oh-my-rime-cli.exe .
Double-click or run the compiled program in the command line, and follow the prompts to select actions and configuration directory.
RimeUserDir value from HKEY_CURRENT_USER\Software\Rime\Weasel registry%APPDATA%\Rime directory