Skip to content
Adrian Thomas edited this page Oct 2, 2025 · 7 revisions

symlinkit Wiki

License: MIT GitHub tag (latest by date) Linux macOS WSL

Welcome to the symlinkit wiki! This is your comprehensive guide to using, understanding, and contributing to symlinkit - a focused CRUD tool for managing symlinks.

What is symlinkit?

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.


Wiki Navigation

Getting Started

Features & Functionality

Development & Contributing


Key Features Highlighted

Explicit CRUD Operations

# 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

Inspection Tools

# List all symlinks in a directory
symlinkit --list ~/

# Find broken symlinks
symlinkit --broken ~/

# Interactively fix broken symlinks
symlinkit --fix-broken ~/

Requirements & Compatibility

Required

  • Bash 3.2+ (macOS compatible)
  • realpath (usually pre-installed; use grealpath on macOS via Homebrew coreutils)

Supported Platforms

  • ✅ Linux (all major distributions)
  • ✅ macOS (with Homebrew coreutils for grealpath)
  • ✅ WSL (Windows Subsystem for Linux)
  • ❌ Windows native (not supported)

Quick Examples

Dotfiles Management

# 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

System Administration

# 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

Development Workflows

# Link project scripts
symlinkit -m ~/project/bin ~/bin

# Delete symlinks recursively in directory
symlinkit -dr ~/bin

Learning Path

New to symlinkit? Follow this learning path:

  1. Installation - Get symlinkit installed
  2. Quick Start - Create your first symlinks
  3. Usage Examples - Explore common scenarios
  4. Symlink Modes - Understand CRUD operations
  5. Inspection Tools - Learn to analyze existing symlinks
  6. Testing Framework - Understand quality assurance (for contributors)

Community & Support


License

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

Clone this wiki locally