Repository navigation
Home
Adrian Thomas edited this page Oct 2, 2025
·
7 revisions
Welcome to the symlinkit wiki! This is your comprehensive guide to using, understanding, and contributing to symlinkit - a focused CRUD tool for managing symlinks.
symlinkit 2.0 is a command-line tool designed to make working with symbolic links straightforward and reliable. It provides:
- CRUD Operations - Create, overwrite, merge, and delete symlinks with explicit operation flags
- Safety First - Dry-run mode and operation flag requirements prevent accidents
- Inspection Tools - List, find broken links, and interactively fix them
- Cross-Platform - Works seamlessly on Linux, macOS, and WSL
Originally designed for dotfiles management, symlinkit excels at any scenario requiring organized symbolic link management.
- Installation - Installation methods and requirements
- Quick Start - Get up and running in 5 minutes
- Usage Examples - Common workflows and use cases
- Symlink Modes - CRUD operations explained (create, overwrite, merge, delete)
- Inspection Tools - List, broken detection, and interactive repair
- Testing Framework - Understanding and adding tests
- Contributing - Guidelines for contributing with mandatory test requirements
- API Reference - Flag reference and command documentation
# Create a symlink (fails if destination exists)
symlinkit -c ~/dotfiles/.zshrc ~/.zshrc
# Overwrite existing file with symlink
symlinkit -o ~/dotfiles/nvim ~/.config/nvim
# Merge directory contents recursively
symlinkit -m ~/dotfiles/scripts ~/bin
# Delete a symlink safely
symlinkit -d ~/.config/nvim
# Preview changes first
symlinkit --dry-run -m ~/dotfiles/scripts ~/bin# List all symlinks in a directory
symlinkit --list ~/
# Find broken symlinks
symlinkit --broken ~/
# Interactively fix broken symlinks
symlinkit --fix-broken ~/- Bash 3.2+ (macOS compatible)
-
realpath(usually pre-installed; usegrealpathon macOS via Homebrew coreutils)
- ✅ Linux (all major distributions)
- ✅ macOS (with Homebrew coreutils for
grealpath) - ✅ WSL (Windows Subsystem for Linux)
- ❌ Windows native (not supported)
# Link config file
symlinkit -o ~/dotfiles/.zshrc ~/.zshrc
# Merge entire config directory
symlinkit -m ~/dotfiles/.config ~/.config
# Preview changes first
symlinkit --dry-run -m ~/dotfiles ~/.config# Find all broken symlinks
symlinkit --broken /usr/local/bin
# Interactively fix broken links
symlinkit --fix-broken /usr/local/bin
# List all symlinks in a directory
symlinkit --list ~/bin# Link project scripts
symlinkit -m ~/project/bin ~/bin
# Delete symlinks recursively in directory
symlinkit -dr ~/binNew to symlinkit? Follow this learning path:
- Installation - Get symlinkit installed
- Quick Start - Create your first symlinks
- Usage Examples - Explore common scenarios
- Symlink Modes - Understand CRUD operations
- Inspection Tools - Learn to analyze existing symlinks
- Testing Framework - Understand quality assurance (for contributors)
- Report Issues: GitHub Issues
- Feature Requests: GitHub Issues
- Questions: GitHub Discussions
- Contribute: See Contributing (tests required!)
symlinkit is released under the MIT License, making it free for personal and commercial use.
This wiki is actively maintained. Last updated: October 2025 for symlinkit v2.0.3
Symlinkit Wiki Navigation
Getting Started
Features & Functionality
Development & Contributing