Use the nrfutil config command to manage package index and modifier entries in the core configuration file (~/.nrfutil/config/nrfutil-core/config.json).
For concepts and manual editing, see Configuring custom package indexes and modifiers. For environment-variable alternatives, see Environment variables used by nRF Util.