Repository navigation
Installation
This guide covers installing symlinkit 2.0 on Linux, macOS, and WSL.
curl -fsSL https://raw.githubusercontent.com/ctrl-alt-adrian/symlinkit/main/scripts/install.sh | bashThis script:
- Downloads the latest version
- Installs to
/usr/local/bin/ - Sets execute permissions
- Verifies the installation
# Download symlinkit
curl -o symlinkit https://raw.githubusercontent.com/ctrl-alt-adrian/symlinkit/main/symlinkit
# Make executable
chmod +x symlinkit
# Move to system PATH
sudo mv symlinkit /usr/local/bin/macOS requires GNU coreutils for grealpath:
# Install coreutils (provides grealpath)
brew install coreutils
# Download symlinkit
curl -o symlinkit https://raw.githubusercontent.com/ctrl-alt-adrian/symlinkit/main/symlinkit
# Make executable
chmod +x symlinkit
# Move to system PATH
sudo mv symlinkit /usr/local/bin/symlinkit --versionExpected output:
symlinkit 2.0.0 (Linux)
symlinkit 2.0.0 (Darwin)
symlinkit 2.0.0 (Linux+WSL)
All Platforms:
- Bash 3.2 or higher (already included on Linux/macOS/WSL)
-
realpathutility (pre-installed on most Linux distributions)
macOS Only:
- GNU
coreutilsvia Homebrew (providesgrealpath)brew install coreutils
symlinkit 2.0 has zero optional dependencies. Everything works out-of-the-box after installing the required tools above.
Most Linux distributions include all required tools by default. Just download and run.
# Verify realpath is available
which realpath
# Output: /usr/bin/realpathmacOS uses BSD utilities by default, so you need GNU coreutils:
# Install coreutils
brew install coreutils
# Verify grealpath is available
which grealpath
# Output: /opt/homebrew/bin/grealpath (Apple Silicon)
# Output: /usr/local/bin/grealpath (Intel)WSL behaves like Linux and includes all required tools:
# WSL detection is automatic
symlinkit --version
# Output: symlinkit 2.0.0 (Linux+WSL)# Install to ~/bin
mkdir -p ~/bin
curl -o ~/bin/symlinkit https://raw.githubusercontent.com/ctrl-alt-adrian/symlinkit/main/symlinkit
chmod +x ~/bin/symlinkit
# Add to PATH (if not already)
echo 'export PATH="$HOME/bin:$PATH"' >> ~/.bashrc
source ~/.bashrc# Install to /usr/local/bin (recommended)
sudo curl -o /usr/local/bin/symlinkit https://raw.githubusercontent.com/ctrl-alt-adrian/symlinkit/main/symlinkit
sudo chmod +x /usr/local/bin/symlinkitTo update to the latest version:
# Using install script (easiest)
curl -fsSL https://raw.githubusercontent.com/ctrl-alt-adrian/symlinkit/main/scripts/install.sh | bash
# Or manually
sudo curl -o /usr/local/bin/symlinkit https://raw.githubusercontent.com/ctrl-alt-adrian/symlinkit/main/scripts/symlinkit
sudo chmod +x /usr/local/bin/symlinkitcurl -fsSL https://raw.githubusercontent.com/ctrl-alt-adrian/symlinkit/main/scripts/uninstall.sh | bashThis script:
- Removes the symlinkit binary from
~/bin - Removes the man page
- Removes bash and zsh completion scripts
- Warns about remaining shell config entries (PATH/MANPATH exports)
Note: Shell configuration files (.bashrc, .zshrc) won't be auto-edited. Remove PATH/MANPATH entries manually if desired.
# Remove binary
rm -f ~/bin/symlinkit
# or if installed system-wide:
sudo rm /usr/local/bin/symlinkit
# Remove man page (Linux)
rm -f ~/.local/share/man/man1/symlinkit.1
# Remove man page (macOS)
rm -f /usr/local/share/man/man1/symlinkit.1
# or if using Homebrew prefix:
rm -f "$(brew --prefix)/share/man/man1/symlinkit.1"
# Remove completions (optional)
rm -f ~/.local/share/bash-completion/completions/symlinkit
rm -f ~/.local/share/zsh/site-functions/_symlinkit
# macOS: Remove coreutils if not needed by other tools
brew uninstall coreutils findutilsInstall coreutils:
# Debian/Ubuntu
sudo apt install coreutils
# RHEL/CentOS/Fedora
sudo yum install coreutils
# Arch
sudo pacman -S coreutilsInstall GNU coreutils:
brew install coreutilsEnsure symlinkit is executable:
chmod +x /usr/local/bin/symlinkit- Quick Start - Create your first symlinks
- Usage Examples - Common use cases
- Symlink Modes - Understand CRUD operations
Symlinkit Wiki Navigation
Getting Started
Features & Functionality
Development & Contributing