bots-garden/mini-mepublic Fork
⑂ v2.2.1
Commits
⬇ Clone ▾
git clone https://git.rickub.com/bots-garden/mini-me.git
git clone ssh://git@rickub.com/bots-garden/mini-me.git

Host key fingerprint (ed25519): SHA256:iycHnxEyq0Q7uyVpB7JlznP0G7JrTPXLYRcAU5CSLhc — verify it before your first connect.

Download ZIP
🛟 Updated. 49b3393 · on v2.2.1 · k33g · 5d ago
INSTALL.LINUX.md · 40 lines · 1.4 KBmarkdown
Blame HistoryOpen raw

Install mm on Linux

In one line (amd64 or arm64; the latest release, checked against its SHA256SUMS, installed as /usr/local/bin/mm — sudo only when needed):

curl -fsSL https://rickub.com/bots-garden/mini-me/raw/main/install-mm.sh | bash
# a given version, without sudo, into ~/.local/bin:
curl -fsSL https://rickub.com/bots-garden/mini-me/raw/main/install-mm.sh | bash -s -- --version 2.1.1 --prefix ~/.local

--uninstall removes it, --dry-run downloads and checks without installing, --help lists the options. The steps below do the same by hand.

By hand

# download the binary release in https://rickub.com/bots-garden/mini-me/releases
VERSION=2.2.1
case "$(uname -m)" in
  x86_64)        ARCH=amd64 ;;
  aarch64|arm64) ARCH=arm64 ;;
  *) echo "no mm release for $(uname -m)"; exit 1 ;;
esac
curl -fsSLO "https://rickub.com/bots-garden/mini-me/releases/download/v${VERSION}/mm-${VERSION}-linux-${ARCH}"

# optional: check the download against the release's checksums
curl -fsSLO "https://rickub.com/bots-garden/mini-me/releases/download/v${VERSION}/SHA256SUMS"
sha256sum -c --ignore-missing SHA256SUMS

chmod +x ./mm-${VERSION}-linux-${ARCH}
sudo rm -f /usr/local/bin/mm
sudo cp ./mm-${VERSION}-linux-${ARCH} /usr/local/bin/mm
mm --version

Without sudo, install it in your own ~/.local/bin (on the PATH of most distributions):

mkdir -p ~/.local/bin
cp ./mm-${VERSION}-linux-${ARCH} ~/.local/bin/mm
 1
 2
 3
 4
 5
 6
 7
 8
 9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
# Install `mm` on Linux

In one line (amd64 or arm64; the latest release, checked against its `SHA256SUMS`, installed as `/usr/local/bin/mm` — `sudo` only when needed):

```bash
curl -fsSL https://rickub.com/bots-garden/mini-me/raw/main/install-mm.sh | bash
# a given version, without sudo, into ~/.local/bin:
curl -fsSL https://rickub.com/bots-garden/mini-me/raw/main/install-mm.sh | bash -s -- --version 2.1.1 --prefix ~/.local
```

`--uninstall` removes it, `--dry-run` downloads and checks without installing, `--help` lists the options. The steps below do the same by hand.

## By hand

```bash
# download the binary release in https://rickub.com/bots-garden/mini-me/releases
VERSION=2.2.1
case "$(uname -m)" in
  x86_64)        ARCH=amd64 ;;
  aarch64|arm64) ARCH=arm64 ;;
  *) echo "no mm release for $(uname -m)"; exit 1 ;;
esac
curl -fsSLO "https://rickub.com/bots-garden/mini-me/releases/download/v${VERSION}/mm-${VERSION}-linux-${ARCH}"

# optional: check the download against the release's checksums
curl -fsSLO "https://rickub.com/bots-garden/mini-me/releases/download/v${VERSION}/SHA256SUMS"
sha256sum -c --ignore-missing SHA256SUMS

chmod +x ./mm-${VERSION}-linux-${ARCH}
sudo rm -f /usr/local/bin/mm
sudo cp ./mm-${VERSION}-linux-${ARCH} /usr/local/bin/mm
mm --version
```

Without `sudo`, install it in your own `~/.local/bin` (on the `PATH` of most distributions):

```bash
mkdir -p ~/.local/bin
cp ./mm-${VERSION}-linux-${ARCH} ~/.local/bin/mm
```