Musein logo with wordmark
CLI

Terminal as canvas, commands as creation

Installation

2

macOS / Linux

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

This command opens the browser for Google account authorization (PKCE). After logging in once, the session is kept without re-entering a password.

Google account authorization login
musein login