Skip to content

Instantly share code, notes, and snippets.

@konstruktoid
Created March 17, 2026 08:00
Show Gist options
  • Select an option

  • Save konstruktoid/93bec29c0b80e0cda35303a68f895ac3 to your computer and use it in GitHub Desktop.

Select an option

Save konstruktoid/93bec29c0b80e0cda35303a68f895ac3 to your computer and use it in GitHub Desktop.
Zellij (https://github.com/zellij-org/zellij) installation script
#!/bin/bash
RELEASE=$(curl -fsSL https://api.github.com/repos/zellij-org/zellij/releases/latest | jq -r '.["tag_name"]')
URL="https://github.com/zellij-org/zellij/releases/download/${RELEASE}/zellij-x86_64-unknown-linux-musl.tar.gz"
if [ ! -d "${HOME}/.local/bin" ]; then
mkdir -p "${HOME}/.local/bin"
fi
curl -Lf --progress-bar -o /tmp/zellij.tar.gz "${URL}"
tar -xzf /tmp/zellij.tar.gz -C "${HOME}/.local/bin"
chmod 0755 "${HOME}/.local/bin/zellij"
rm /tmp/zellij.tar.gz
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment