Quick Start
This quick tour gets you linking in minutes. Follow each step in order, and you will have a working setup ready for live reload by the end.
1. Install the CLI
Section titled “1. Install the CLI”pnpm install -g oink0This places oink and olink on your PATH so you can call them from any project.
2. Teach Oink a package
Section titled “2. Teach Oink a package”Run inside the package you want to share:
oink learnOink creates a symlink in ~/.config/oink/link/ so it remembers this package. Repeat for every package you plan to link.
3. Link it into a consumer
Section titled “3. Link it into a consumer”Switch to the project that depends on your package and run:
oinkChoose the package from the fzf list, or pass its name directly. Oink builds the source and copies the results into every matching node_modules folder.
4. Keep the link fresh (optional)
Section titled “4. Keep the link fresh (optional)”oink --livereloadLive reload watches the source package for changes and repeats the build-and-copy cycle automatically.
What’s next?
Section titled “What’s next?”- Learn when Oink shines in Purpose & Scope.
- Explore every flag in the CLI Commands reference.
- Keep the Cheatsheet & FAQ open for quick fixes while you work.