All the ways to install, update, and uninstall ShellDock.
One-command installation for Linux and macOS:
curl -fsSL https://shelldock.opsguild.tech/install.sh | bashAlternative (direct from GitHub):
curl -sSL https://raw.githubusercontent.com/OpsGuild/ShellDock/master/scripts/install.sh | sudo bashThis script automatically:
- Detects your OS and architecture
- Downloads the appropriate binary
- Installs ShellDock to
/usr/local/bin/shelldock - Makes it executable
Example Output:
🔍 Checking for latest release...
🚀 Installing ShellDock v1.0.0...
📥 Downloading from https://github.com/OpsGuild/ShellDock/releases/download/v1.0.0/shelldock-linux-amd64...
📦 Installing to /usr/local/bin...
📦 Installing repository files...
✅ ShellDock installed successfully!
Run 'shelldock --help' to get started
Run 'shelldock manage' to open the interactive UI
Option 1: One-Line Install Script (Easiest)
curl -fsSL https://raw.githubusercontent.com/OpsGuild/ShellDock/master/scripts/install-apt.sh | sudo bashThis script automatically:
- Detects your architecture (amd64 or arm64)
- Downloads the latest .deb package
- Installs ShellDock
- Fixes any dependencies
Option 2: Manual .deb Installation
# Download the latest .deb package for your architecture
# For amd64:
wget https://github.com/OpsGuild/ShellDock/releases/latest/download/shelldock_*_amd64.deb
# For arm64:
wget https://github.com/OpsGuild/ShellDock/releases/latest/download/shelldock_*_arm64.deb
# Install
sudo dpkg -i shelldock_*_*.deb
# Fix dependencies if needed
sudo apt-get install -fOption 3: Direct Binary (No Package Manager)
# Download binary
curl -LO https://github.com/OpsGuild/ShellDock/releases/latest/download/shelldock-linux-amd64
# or for ARM64
curl -LO https://github.com/OpsGuild/ShellDock/releases/latest/download/shelldock-linux-arm64
# Install
chmod +x shelldock-linux-*
sudo mv shelldock-linux-* /usr/local/bin/shelldockOption 1: Direct .rpm Package
# Download the latest .rpm package
wget https://github.com/OpsGuild/ShellDock/releases/latest/download/shelldock-*-1.x86_64.rpm
# Install
sudo rpm -i shelldock-*-1.x86_64.rpm
# or for Fedora
sudo dnf install shelldock-*-1.x86_64.rpmOption 2: Install Script
curl -fsSL https://raw.githubusercontent.com/OpsGuild/ShellDock/master/scripts/install-yum.sh | sudo bash
sudo yum install shelldock
# or
sudo dnf install shelldockOption 1: AUR (Arch User Repository) — Recommended
# Using yay
yay -S shelldock
# Using paru
paru -S shelldock
# Manual installation
git clone https://aur.archlinux.org/shelldock.git
cd shelldock
makepkg -siOption 2: Install Script
curl -fsSL https://raw.githubusercontent.com/OpsGuild/ShellDock/master/scripts/install-arch.sh | bashOption 1: Homebrew (Recommended)
brew install OpsGuild/tap/shelldockThis automatically taps the OpsGuild/tap repository and installs ShellDock. The formula is maintained in a dedicated Homebrew tap repository and is automatically updated with each release.
Option 2: Direct Binary
# For Intel Macs
curl -LO https://github.com/OpsGuild/ShellDock/releases/latest/download/shelldock-darwin-amd64
chmod +x shelldock-darwin-amd64
sudo mv shelldock-darwin-amd64 /usr/local/bin/shelldock
# For Apple Silicon (M1/M2/M3)
curl -LO https://github.com/OpsGuild/ShellDock/releases/latest/download/shelldock-darwin-arm64
chmod +x shelldock-darwin-arm64
sudo mv shelldock-darwin-arm64 /usr/local/bin/shelldockOption 1: Chocolatey
choco install shelldockOption 2: Direct Binary
# Download using PowerShell
Invoke-WebRequest -Uri "https://github.com/OpsGuild/ShellDock/releases/latest/download/shelldock-windows-amd64.exe" -OutFile "shelldock.exe"
# Add to PATH or move to a directory in your PATH
New-Item -ItemType Directory -Path "C:\Program Files\shelldock" -Force
Move-Item shelldock.exe "C:\Program Files\shelldock\"sudo snap install shelldock# Install from Flathub (if published)
flatpak install flathub com.github.opsguild.shelldock
# Or install from downloaded .flatpak file
flatpak install shelldock-*.flatpakgo build -o shelldock .
sudo cp shelldock /usr/local/bin/Note: The APT repository is included in each release. For production use, consider hosting it on GitHub Pages or your own server for better performance.
# 1. Get latest version from GitHub API
LATEST_VERSION=$(curl -s https://api.github.com/repos/OpsGuild/ShellDock/releases/latest | grep '"tag_name":' | sed -E 's/.*"([^"]+)".*/\1/' || echo "v1.0.0")
# 2. Download and add GPG key from the latest release
curl -fsSL https://github.com/OpsGuild/ShellDock/releases/download/${LATEST_VERSION}/gpg.key | sudo gpg --dearmor -o /usr/share/keyrings/shelldock-archive-keyring.gpg
# 3. Add repository
echo "deb [signed-by=/usr/share/keyrings/shelldock-archive-keyring.gpg] https://github.com/OpsGuild/ShellDock/releases/download/${LATEST_VERSION}/apt-repo stable main" | sudo tee /etc/apt/sources.list.d/shelldock.list
# 4. Update and install
sudo apt update
sudo apt install shelldockAlternative: Using GitHub Pages (if configured):
curl -fsSL https://opsguild.github.io/ShellDock/gpg.key | sudo gpg --dearmor -o /usr/share/keyrings/shelldock-archive-keyring.gpg
echo "deb [signed-by=/usr/share/keyrings/shelldock-archive-keyring.gpg] https://opsguild.github.io/ShellDock/apt-repo stable main" | sudo tee /etc/apt/sources.list.d/shelldock.list
sudo apt update
sudo apt install shelldockwget https://github.com/OpsGuild/ShellDock/releases/latest/download/shelldock-*-1.x86_64.rpm
sudo rpm -i shelldock-*-1.x86_64.rpm
# or for Fedora
sudo dnf install shelldock-*-1.x86_64.rpm# Using yay (recommended)
yay -S shelldock
# Using paru
paru -S shelldock
# Manual installation
git clone https://aur.archlinux.org/shelldock.git
cd shelldock
makepkg -sibrew install OpsGuild/tap/shelldockchoco install shelldockThe update method depends on how you installed ShellDock.
Re-run the installation script:
curl -fsSL https://shelldock.opsguild.tech/install.sh | bashsudo apt update
sudo apt upgrade shelldock# For amd64
wget https://github.com/OpsGuild/ShellDock/releases/latest/download/shelldock_*_amd64.deb
sudo dpkg -i shelldock_*_amd64.deb
sudo apt-get install -f
# For arm64
wget https://github.com/OpsGuild/ShellDock/releases/latest/download/shelldock_*_arm64.deb
sudo dpkg -i shelldock_*_arm64.deb
sudo apt-get install -fOr use the install script:
curl -fsSL https://raw.githubusercontent.com/OpsGuild/ShellDock/master/scripts/install-apt.sh | sudo bashwget https://github.com/OpsGuild/ShellDock/releases/latest/download/shelldock-*-1.x86_64.rpm
sudo rpm -Uvh shelldock-*-1.x86_64.rpm
# or for Fedora
sudo dnf upgrade shelldock-*-1.x86_64.rpm# Using yay
yay -Syu shelldock
# Using paru
paru -Syu shelldock
# Manual update
cd ~/shelldock
git pull
makepkg -sibrew upgrade shelldocksudo snap refresh shelldockflatpak update com.github.opsguild.shelldockchoco upgrade shelldockRe-download and replace the binary:
Linux:
curl -LO https://github.com/OpsGuild/ShellDock/releases/latest/download/shelldock-linux-amd64
chmod +x shelldock-linux-*
sudo mv shelldock-linux-* /usr/local/bin/shelldockmacOS:
curl -LO https://github.com/OpsGuild/ShellDock/releases/latest/download/shelldock-darwin-amd64
# or for Apple Silicon
curl -LO https://github.com/OpsGuild/ShellDock/releases/latest/download/shelldock-darwin-arm64
chmod +x shelldock-darwin-*
sudo mv shelldock-darwin-* /usr/local/bin/shelldockWindows:
Invoke-WebRequest -Uri "https://github.com/OpsGuild/ShellDock/releases/latest/download/shelldock-windows-amd64.exe" -OutFile "shelldock.exe"
Move-Item -Force shelldock.exe "C:\Program Files\shelldock\shelldock.exe"shelldock --versionsudo rm -f /usr/local/bin/shelldock
rm -rf ~/.shelldocksudo apt remove shelldock
sudo apt purge shelldocksudo dpkg -r shelldock
# Or to also remove configuration files:
sudo dpkg --purge shelldocksudo rpm -e shelldock
# Or for Fedora/DNF
sudo dnf remove shelldock# Using yay
yay -Rns shelldock
# Using paru
paru -Rns shelldock
# Using pacman
sudo pacman -Rns shelldockbrew uninstall shelldock
# To also remove the tap:
brew untap OpsGuild/tapsudo snap remove shelldockflatpak uninstall com.github.opsguild.shelldockchoco uninstall shelldockLinux/macOS:
sudo rm -f /usr/local/bin/shelldock
rm -rf ~/.shelldockWindows:
Remove-Item "C:\Program Files\shelldock\shelldock.exe" -Force
Remove-Item "C:\Program Files\shelldock" -Force -ErrorAction SilentlyContinue
Remove-Item "$env:USERPROFILE\.shelldock" -Recurse -Force -ErrorAction SilentlyContinueAfter uninstalling, you may want to remove configuration files:
Linux/macOS:
rm -rf ~/.shelldockWindows:
Remove-Item "$env:USERPROFILE\.shelldock" -Recurse -ForceConfiguration files are stored in ~/.shelldock/ (or %USERPROFILE%\.shelldock\ on Windows) and contain:
- Platform settings (
.sdrc) - Local command sets (
*.yamlfiles)
- Go 1.21 or later
- Make (optional, for using Makefile)
-
Clone the repository:
git clone https://github.com/OpsGuild/ShellDock.git cd shelldock -
Install dependencies:
go mod download go mod tidy
-
Build the binary:
# Simple build go build -o shelldock . # Or use Makefile make build
-
Install (optional):
# Manual installation sudo cp shelldock /usr/local/bin/ # Or use Makefile sudo make install
# Debian package
make deb
# RPM package
make rpm
# Arch package
make arch