Skip to content

aube config set

  • Usage: aube config set [--local] [--location <LOCATION>] <KEY> <VALUE>
  • Effect: modifies state

Write a key=value pair to aube config or the selected .npmrc file

Arguments

  • <KEY> — Setting key (canonical name or .npmrc alias).
  • <VALUE> — Value to write. Stored verbatim after key=.

Flags

  • --local — Shortcut for --location project.

  • --location <LOCATION> — Which config location to write to.

    Defaults to user. Writes land in .npmrc for the npm-shared surface — per-host auth/cert templates, scoped registries, and settings tagged npmShared = true in the settings registry (registry, proxy / https-proxy, engine-strict, ignore-scripts, etc.) — so npm and yarn read the same value. aube-only and pnpm-only settings, plus unknown keys, land in aube's own config (~/.config/aube/config.toml at user scope, <cwd>/.config/aube/config.toml at project scope) where sibling tools don't see them.

    Dotted writes for aube map settings (allowBuilds.<pkg>, overrides.<pkg>, …) edit one entry at a time. At project scope (--local) they land in pnpm-workspace.yaml#<map>.<entry> or package.json#aube.<map>.<entry> if no workspace yaml exists, the same place install reads from. User-scope dotted writes for these maps error: aube only reads them per project.

    Choices: user, project, global

    Default: user

  • -h --help — Print help

MIT LicensejdxCopyright © 2026 jdx.dev