trovl
trovl is a cross-platform CLI for managing symbolic links in a predictable, declarative way.
What it does
- Creates and manages symlinks across Linux, macOS, Windows, and WSL
- Uses a JSON manifest to define links in one place
- Supports platform-specific paths and overrides
- Provides dry-run and backup options for safer changes
trovl is symlink-first: the existing filesystem is treated as the source of truth, and actions are taken explicitly via commands or manifests.
It’s inspired by GNU stow, but currently uses direct paths instead of directory structure to define links.
Example
1
2
3
4
5
6
7
8
9
10
{
"$schema": "https://github.com/sneha-afk/trovl/raw/main/docs/trovl_schema.json",
"links": [
{
"target": "~/.config/myapp/config.json",
"link": "~/myapp.json",
"platforms": ["linux"]
}
]
}
1
trovl apply manifest.json