Skip to content

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.

Terminal window
pnpm install -g oink0

This places oink and olink on your PATH so you can call them from any project.

Run inside the package you want to share:

Terminal window
oink learn

Oink creates a symlink in ~/.config/oink/link/ so it remembers this package. Repeat for every package you plan to link.

Switch to the project that depends on your package and run:

Terminal window
oink

Choose 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.

Terminal window
oink --livereload

Live reload watches the source package for changes and repeats the build-and-copy cycle automatically.