node_modules layout
aube defaults to an isolated symlink layout like pnpm's node-linker=isolated. The difference is directory ownership: aube writes .aube/, not .pnpm/.
project/
node_modules/
react -> .aube/[email protected]/node_modules/react
.aube/
[email protected]/
node_modules/
react/
loose-envify -> ../../[email protected]/node_modules/loose-envifyWhy isolated
Only declared direct dependencies appear at the project top level. Transitive dependencies are linked next to the packages that declared them, so phantom dependencies fail instead of being accidentally available.
Hoisted mode
aube install --node-linker=hoistedHoisted mode writes a flatter npm-style tree for tools that assume most packages are visible at the top level.
Global store
Package files are stored by content hash under:
$XDG_DATA_HOME/aube/store/v1/This defaults to ~/.local/share/aube/store/v1/ when $XDG_DATA_HOME is unset. Run aube store path to see the resolved location.
aube imports files from that store into the virtual store with reflinks, hardlinks, or copies depending on filesystem support and package-import-method.
Global virtual store
The global virtual store reuses materialized package directories across projects. It is on by default outside CI and off under CI.
Coexistence with pnpm
aube does not reuse node_modules/.pnpm/ or ~/.pnpm-store/. If a pnpm-built tree already exists, aube installs alongside it in node_modules/.aube/.