__ _ __ _______ ___/ /__ __ _ __ _____ (_)___ ___ / / / __/ _ \/ _ / -_) / ' \/ // / _ \/ / __/ (_-</ _ \ \__/\___/\_,_/\__(_)_/_/_/\_,_/_//_/_/_/ (_)___/_//_/mcode
mcode is a coding agent for the desktop: an app that reads, changes and runs the code in your project folders with you, and asks before doing what you have not allowed. mcode-server is the same agent with no window, for a machine that stays on; other devices pair with it by a code or a QR and use it from a browser. Both look here for new releases.
install
curl -fsSL https://code.munir.sh | bashThe desktop app, for this user only: it goes in ~/.local/lib/mcode with a launcher entry, and nothing needs sudo. Run it again to upgrade.
server
curl -fsSL https://code.munir.sh/server | bashPuts mcode-server in ~/.local/bin, starts it as a systemd user service, and prints a code and a QR to pair your first device with.
options
| --server | - | mcode-server instead of the desktop app |
| --version 0.2.0 | - | that release instead of the newest |
| --dry-run | - | say what would be done, and do none of it |
| --uninstall | - | remove it; sessions and settings are left |
curl -fsSL https://code.munir.sh | bash -s -- --dry-run
They go after "bash -s --", with either command.
release
No release yet.
verify
A release is a manifest, stable.json, signed with an Ed25519 key (stable.json.sig). The script checks that signature when the openssl on your machine can (3.0 or newer) and tells you whether it did, then checks the size and SHA-256 of what it downloaded against the manifest. Anything that does not match is refused. An installed mcode checks the same way before it updates itself.
The release key: gO2R/ASqiWIkQQrgoyZKrHJ5FVKXslfpWr7gjMvTkZg=