@allenmuu/mysql-cli
v2.0.2
Published
One-line install of mysql-cli (Go binary) for AI agents: npx @allenmuu/mysql-cli install
Readme
@allenmuu/mysql-cli
One-line install of the mysql-cli Go binary for AI agents.
Install
npx @allenmuu/mysql-cli install # installs the binary to ~/.local/bin
mysql-cli config init # initialises config (auto-detected)No Go toolchain required. The install command downloads the prebuilt binary for your platform from GitHub Releases.
One-shot usage (no permanent install)
npx @allenmuu/mysql-cli config init # initialises config (same as above)
npx @allenmuu/mysql-cli config list # list configured datasources
npx @allenmuu/mysql-cli query "SELECT 1" -d mydbMirror (GFW-friendly)
Set MYSQL_CLI_MIRROR to a mirror of the GitHub Releases download path:
MYSQL_CLI_MIRROR=https://ghproxy.com/https://github.com/AllenMuu/mysql-cli/releases/download npx @allenmuu/mysql-cli installLicense
MIT (matches the upstream repo).
