Musein logo with wordmark
CLI

Terminal as canvas, commands as creation

Installation

2

macOS / Linux

Extract
tar xzf musein_xxx.tar.gz
Remove quarantine attribute (macOS only)
xattr -dr com.apple.quarantine ./musein
Add execute permission
chmod +x musein
Move to PATH
sudo mv musein /usr/local/bin/

Do not skip the xattr step on macOS. Without it, all commands will be killed by Gatekeeper (zsh: killed or exit 137, with no output). Gatekeeper terminates the process before it starts, so the binary itself cannot report this error. Archives delivered via browser, chat apps, AirDrop, or USB are all marked as quarantined, and the flag is copied to files after extraction.

Login

{{aiSite}} (global) and {{cnSite}} (China) are independent account systems with separate points and task records.

AI site is used by default. Switch with the following commands:

Use Musein AI
musein profile use --endpoint ai
Use Musein CN
musein profile use --endpoint cn
View current site
musein whoami

Running the following command will automatically launch the browser for Google account authorization (PKCE security check). After logging in once, the session is automatically maintained without needing to re-enter your password. Currently only supports Musein AI.

Google account authorization login
musein login