---
agentTools:
  projectIndex: https://regscale.readme.io/llms.txt
---

# Config

## RegScale Config CLI

The Config CLI command is used to update or add a parameter and value to CLI configuration and modifies the `init.yaml` file. This is a convenience utility command.  It serves two primary purposes:

* Avoids the need to manually edit the `init.yaml` file
* Allows an additional way to programmatically configure CLI in IaaS scenarios.

### How to Use

* Update any configuration parameter or add a new parameter with the command below

```Text shell
regscale config --param domain --val https://regscale.mydomain.com/
```

* If you `--param` and `--val` are not included, the CLI will prompt for both
* The CLI will update or add the parameter and value to the `init.yaml` file