Install
Requirements
Section titled “Requirements”- Linux with ALSA. The released binaries are
linux/amd64andlinux/arm64. amidifromalsa-utils. Reads use the raw MIDI device; writes shell out toamidi.- An M-VAVE Chocolate or Chocolate Plus, connected over USB-C with the side switch on U (not HOST).
Go 1.26+ is only needed to build from source.
One-line install
Section titled “One-line install”curl -fsSL https://github.com/WilsonNet/mvave-chocolate-tui/releases/latest/download/install.sh | bash -s -- --runThe script:
- resolves the latest GitHub release (or the one you pin),
- downloads the tarball for your architecture,
- verifies it against the release’s
checksums.txt(and refuses to install if the checksum file or entry is missing), - installs
mvave-chocolate-tuito~/.local/bin, and - with
--run, opens it in the current terminal.
Useful options:
# install onlycurl -fsSL .../install.sh | bash
# a specific version, into a directory of your choicecurl -fsSL .../install.sh | bash -s -- --version v0.2.2 --dir ~/bin
# allow writes when it openscurl -fsSL .../install.sh | bash -s -- --run -- --writeIf ~/.local/bin is not on your PATH, the script prints the line to add.
--skip-checksum exists for unusual mirrors, but it turns the verification off;
prefer fixing the download.
Manual download
Section titled “Manual download”Every release has two tarballs and a checksum file:
https://github.com/WilsonNet/mvave-chocolate-tui/releases
Verify, unpack and install by hand:
sha256sum -c checksums.txt --ignore-missingtar -xzf mvave-chocolate-tui_0.2.0_linux_amd64.tar.gzinstall -m 0755 mvave-chocolate-tui_0.2.0_linux_amd64/mvave-chocolate-tui ~/.local/bin/Build from source
Section titled “Build from source”git clone https://github.com/WilsonNet/mvave-chocolate-tuicd mvave-chocolate-tuigo build -o mvave-chocolate-tui ../mvave-chocolate-tui --versionPermissions
Section titled “Permissions”Most desktop distributions grant the active user access to ALSA devices
through the audio group. If amidi -l shows the pedal but the TUI reports a
permission error, check your user’s groups and the device node:
id -nGls -l /dev/snd/midiC*A udev rule is only needed on unusually locked-down systems; the common failure is another process holding the port, not permissions. See Troubleshooting.
Updating
Section titled “Updating”Run the installer again. It replaces the binary in place. Your saved switch
table (~/.config/mvave-chocolate-tui/config.json) and backups are not
touched.
Uninstalling
Section titled “Uninstalling”rm ~/.local/bin/mvave-chocolate-tuirm -rf ~/.config/mvave-chocolate-tui # optional: saved table, names, backups