
On Windows, Notepad adds .txt to file names, and File Explorer hides that ending. The file looks right, but it is called .aider.model.metadata.json.txt, and Aider does not read it.
1. Create the file from PowerShell
Open PowerShell and type:
notepad "$HOME\.aider.model.metadata.json"
Notepad asks whether to create a new file: answer yes. That way the name is exact, because PowerShell gave it. Paste the content and save with Ctrl+S. $HOME is your home folder, C:\Users\your-name.
2. If you use "Save as"
|
|
|
3. Check the name
In PowerShell:
Get-ChildItem -Force $HOME\.aider*
The name must end in .json. If it ends in .json.txt, rename it:
Rename-Item "$HOME\.aider.model.metadata.json.txt" ".aider.model.metadata.json"
In Command Prompt, you do the same with dir and ren:
dir /a %USERPROFILE%\.aider*
ren "%USERPROFILE%\.aider.model.metadata.json.txt" .aider.model.metadata.json
Show file endings in File Explorer
So this does not happen again, ask File Explorer to show file name extensions. The option is in the View menu. With it on, a .json.txt file stands out at once.
| Take the same care with .aider.conf.yml and .env. On Windows, always check that the name did not end up in .txt. |
| The content of the file is explained in the .aider.model.metadata.json file, and this article says which folders Aider looks in. |
|
Want to use our models in Aider, on Windows too? Visit the Coding with AI page. See Coding with AI |
RECOMMENDED PRODUCT Web hosting with cPanel Domain and SSL included, daily backups and the panel you already know. from 396,00 MT/mo (3-year plan, with coupon) See plans |











