---
title: "Configuration"
description: "Aider has many options which can be set with command line switches. Most options can also be set in an `.aider.conf.yml` file which can be placed in your home directory or at the root of your git repo. Or by setting environment variables like `AIDER_xxx` either in your shell or a `.env` file."
type: skill
canonical_url: https://claudary.paisolsolutions.com/skills/config
source: "Claudary"
difficulty: intermediate
author: "Claude Code Knowledge Pack"
date: 2026-07-10T11:18:44.732Z
license: CC-BY-4.0
attribution: "Configuration — Claudary (https://claudary.paisolsolutions.com/skills/config)"
---

# Configuration
Aider has many options which can be set with command line switches. Most options can also be set in an `.aider.conf.yml` file which can be placed in your home directory or at the root of your git repo. Or by setting environment variables like `AIDER_xxx` either in your shell or a `.env` file.

## Overview

---
nav_order: 55
has_children: true
description: Information on all of aider's settings and how to use them.
---

# Configuration

Aider has many options which can be set with
command line switches.
Most options can also be set in an `.aider.conf.yml` file
which can be placed in your home directory or at the root of
your git repo. 
Or by setting environment variables like `AIDER_xxx`
either in your shell or a `.env` file.

Here are 4 equivalent ways of setting an option. 

With a command line switch:

```
$ aider --dark-mode
```

Using a `.aider.conf.yml` file:

```yaml
dark-mode: true
```

By setting an environment variable:

```
export AIDER_DARK_MODE=true
```

Using an `.env` file:

```
AIDER_DARK_MODE=true
```

{% include keys.md %}

---

Source: [Claudary](https://claudary.paisolsolutions.com/skills/config) · https://claudary.paisolsolutions.com
