> ## Documentation Index
> Fetch the complete documentation index at: https://docs.qlty.sh/llms.txt
> Use this file to discover all available pages before exploring further.

# config migrate

```bash lines theme={"system"}
qlty config migrate [OPTIONS]
```

Update qlty.toml with settings from .codeclimate.yml

Qlty’s [default thresholds for Code Smells](https://docs.qlty.sh/qlty-toml#smellsnamethreshold) differ from the [default thresholds](https://docs.codeclimate.com/docs/default-analysis-configuration#default-thresholds) in Quality Classic. Because of this, maintainability ratings in Qlty may differ from those seen in Classic. For repos with a committed `.codeclimate.yml` file, `qlty config migrate` will adjust your Qlty configuration to more closely align with your configuration in Quality Classic.

For example:

* If your `.codeclimate.yml` specifies a custom threshold for the `return-statements` check, `qlty config migrate` will copy this threshold into your `qlty.toml`
* If your `.codeclimate.yml` does not specify a custom threshold for the `return-statements` check, `qlty config migrate` will copy the default threshold for Quality Classic’s `return-statements` check into your `qlty.toml`

Additionally, `qlty config migrate` will copy any existing `prepare` statements which exist in your `.codeclimate.yml`.

## Arguments

<AccordionGroup>
  <Accordion title="--dry-run">
    Prints the migrated version of qlty.toml to the console without saving it to disk
  </Accordion>
</AccordionGroup>

## Examples

```bash Migrate configuration from .codeclimate.yml into qlty.toml lines theme={"system"}
qlty config migrate
```

```bash Preview the migration without making changes lines theme={"system"}
qlty config migrate --dry-run
```

## See Also

* [`config show`](/cli/commands/config-show)
