aube install
- Usage:
aube install [FLAGS] - Aliases:
i - Effect: modifies state
Install all dependencies
Flags
-D --dev— Install only devDependencies.-P --prod— Skip devDependencies; install only production deps.Aliases:
--production--dangerously-allow-all-builds— Allow every dependency's lifecycle scripts to run.Bypasses the
allowBuildsallowlist. Do not use in CI.--dry-run— Resolve and report what would happen without writing the lockfile or linking node_modules.--fix-lockfile— Re-resolve lockfile entries whose spec drifted from package.json.Leaves everything else pinned at its locked version. Unchanged specs keep their existing version and integrity hash; only drifted entries (and any new transitives they pull in) get re-resolved.
--force— Force reinstall, ignoring lockfile/state freshness.Bypasses the
node_modules/.aube-statefreshness check and re-resolves the lockfile even when nothing has drifted. Mirrors pnpm'sinstall --force.--global-pnpmfile <PATH>— Add a global pnpmfile that runs before the local one.Mirrors pnpm's
--global-pnpmfile <path>. Relative paths resolve against the project root. The global hook runs first and the local hook (if any) runs second, so local mutations win on conflicts — matching pnpm's composition order.--ignore-pnpmfile— Skip running.pnpmfile.mjs/.pnpmfile.cjshooks for this install.--ignore-scripts— Skip lifecycle scripts (no-op; aube already skips by default).--lockfile-dir <PATH>— Read and write the lockfile in the given directory.Instead of placing the lockfile alongside
package.json, the project becomes an importer keyed by its relative path from the lockfile directory. Mirrors pnpm's--lockfile-dir.--lockfile-only— Resolve dependencies and write the lockfile, but don't linknode_modules.Useful for CI workflows that only update the lockfile.
--merge-git-branch-lockfiles— Merge per-branch lockfiles into the mainaube-lock.yaml.Combines every
aube-lock.<branch>.yamlfile in the project intoaube-lock.yamland deletes the branch files. Companion togitBranchLockfile. WhenmergeGitBranchLockfilesBranchPatternis set inpnpm-workspace.yaml, this happens automatically on matching branches; the flag forces it regardless.--network-concurrency <N>— Set the starting concurrency for registry requests.Overrides
network-concurrencyfrom.npmrc/aube-workspace.yamlwhen set. Seeds aube's adaptive limiter rather than capping it: concurrency still grows and shrinks in response to registry throttling. Falls back to an auto-scaled default of worker count x3, clamped to 16-128.--no-optional— Skip optionalDependencies; don't install optional native modules.--no-side-effects-cache— Inverse of--side-effects-cache.--no-verify-store-integrity— Inverse of--verify-store-integrity.Skips the SHA-512 verify step for every tarball aube pulls into the store during this install.
--node-linker <MODE>— Which layout to materializenode_modules/as.isolated(default) uses pnpm's.aube/-backed symlink tree;hoistedbuilds an npm-style flat tree with conflict nesting. Overridesnode-linker/nodeLinkerfrom.npmrc/aube-workspace.yamlwhen set.pnpis not supported.--offline— Fail if any metadata or tarball isn't already in the local cache.Never hits the network.
--package-import-method <METHOD>— How to import package files from the global store into the virtual store.One of
auto(default: detect the fastest strategy),hardlink,copy,clone(reflink; falls back to copy), orclone-or-copy(reflink with a copy fallback). Overridespackage-import-method/packageImportMethodfrom.npmrc/aube-workspace.yamlwhen set.--pnpmfile <PATH>— Override the local pnpmfile location.Mirrors pnpm's
--pnpmfile <path>. Relative paths resolve against the project root; absolute paths are used as-is. Wins overpnpmfilePathfrompnpm-workspace.yaml. A typo (target missing) is a hard miss with a warning rather than a silent fallback to the default.--prefer-offline— Prefer cached metadata over revalidation; only hit the network on a miss.--public-hoist-pattern <GLOB>— Selectively hoist matching transitive deps to the root node_modules.Repeatable; comma-separated values are also accepted.
--resolution-mode <MODE>— How to resolve version ranges.highest(pnpm's classic behavior) ortime-based(pick the lowest satisfying direct dep and constrain transitives by a publish-date cutoff). Accepts pnpm's aliasestimeandlowest-direct. When omitted, falls back to theresolution-modekey in.npmrc/aube-workspace.yaml.--shamefully-hoist— Hoist every non-local transitive dep to the top-levelnode_modules/.Overrides
shamefully-hoist/shamefullyHoistfrom.npmrc/aube-workspace.yamlwhen set.--side-effects-cache— Cache post-build side effects for dependency packages.Defaults to on and only applies to packages allowed by
allowBuilds/onlyBuiltDependencies. Pair with--no-side-effects-cacheto opt out.--verify-store-integrity— Verify tarball SHA-512 before importing into the store.Checks each tarball against the lockfile integrity. Defaults to
true(pnpm parity); pair with--no-verify-store-integrityto skip.-h --help— Print help
Lockfile
--frozen-lockfile— Error if the lockfile drifts from package.json.--no-frozen-lockfile— Always re-resolve, even if the lockfile is up to date.--prefer-frozen-lockfile— Use the lockfile when fresh, re-resolve when stale.
Network
--fetch-retries <N>— Number of retry attempts for failed registry fetches.Overrides
fetchRetries/fetch-retriesfrom.npmrc/aube-workspace.yamlwhen set. Pair with--fetch-timeoutto fail fast in scripted test runs.--fetch-retry-factor <N>— Exponential backoff factor between retry attempts.Overrides
fetchRetryFactor/fetch-retry-factorfrom.npmrc/aube-workspace.yamlwhen set. Integer-only; fractional values like1.5are rejected.--fetch-retry-maxtimeout <MS>— Upper bound (ms) on the computed retry backoff.Overrides
fetchRetryMaxtimeout/fetch-retry-maxtimeoutfrom.npmrc/aube-workspace.yamlwhen set.--fetch-retry-mintimeout <MS>— Lower bound (ms) on the computed retry backoff.Overrides
fetchRetryMintimeout/fetch-retry-mintimeoutfrom.npmrc/aube-workspace.yamlwhen set.--fetch-timeout <MS>— Per-request HTTP timeout in milliseconds.Overrides
fetchTimeout/fetch-timeoutfrom.npmrc/aube-workspace.yamlwhen set. Covers the whole request (headers and body together).--registry <URL>— Override the default registry URL for this invocation.Use this npm registry URL for package metadata, tarballs, audit requests, dist-tags, and registry writes.
Virtual store
--disable-global-virtual-store— Force the shared global virtual store off for this invocation.Packages are materialized inside the project's virtual store instead of symlinked from the shared tree under
<cacheDir>/virtual-store/v1/(by default~/.cache/aube/virtual-store/v1/).Aliases:
--disable-gvs--enable-global-virtual-store— Force the shared global virtual store on for this invocation.Overrides CI's default per-project materialization and the
disableGlobalVirtualStoreForPackagesauto-disable heuristic.Aliases:
--enable-gvs