dev
A CLI tool for navigating your projects without the cognitive overhead.
What it does
dev enforces a single opinionated directory structure for all your repos:
~/src/<source>/<org>/<project>
Everything lives under ~/src, organized by where the repo comes from, who owns it, and what it's called. The path is deterministic — you can always derive it from the URL. No more wondering where you cloned something six months ago.
Commands
dev clone <url>
Clones a repository into the correct path under ~/src. The path is derived automatically from the URL — no decisions to make.
dev cd [query]
Fuzzy-find any project under ~/src and navigate to it. If no query passed, opens up a fuzzy search, else picks the best match. Requires shell integration via dev init.
dev init
Prints the shell integration snippet. Add eval "$(dev init)" to your .zshrc or .bashrc to enable dev cd.
Install
Via Homebrew:
brew tap dsaiztc/tap brew install dev
Or with Go:
go install github.com/dsaiztc/dev@latest
Then add to your ~/.zshrc or ~/.bashrc:
eval "$(dev init)"