Config Command
Use nvflare config to manage local CLI settings, including startup kit
registration and activation. Normal users should not need to edit or reason
about the underlying ~/.nvflare/config.conf storage layout.
Command Usage
usage: nvflare config [-h] [--schema] [-d [STARTUP_KIT_DIR]]
[-pw [POC_WORKSPACE_DIR]] [-jt [JOB_TEMPLATES_DIR]]
{add,use,inspect,list,remove} ...
Common Examples
Register and activate a startup kit:
nvflare config add project_admin /tmp/nvflare/poc/example_project/prod_00/admin@nvidia.com
nvflare config use project_admin
Configuration notes:
The saved config format is normalized to v2 with
version = 2as the first line.startup_kits.activeandstartup_kits.entriesare managed bynvflare config.nvflare config inspect --format jsonandnvflare config list --format jsoninclude best-effort startup-kit identity, certificate expiration, and local stale-path findings for automation.nvflare config usechanges global CLI state. Automation should prefer optional per-command--kit-idor--startup-kitselectors when running server-connected commands. These selectors override the active startup kit for one command only and do not mutatestartup_kits.active.nvflare config -d/--startup_kit_dirremains accepted for compatibility with 2.7.x scripts, but is deprecated. Usenvflare config addandnvflare config usefor new workflows.nvflare config -pw/--poc_workspace_dirremains accepted for compatibility, but is deprecated. Usenvflare poc config --pw <poc-workspace-dir>for new workflows.nvflare config -jt/--job_templates_dirremains accepted for compatibility, but job template config is deprecated. Prefer passing custom template locations to job commands that need them.Development-only spellings such as
--poc.workspace,--poc.startup_kit, and--prod.startup_kitare not supported compatibility flags.