Terminal

Dianoetic Code, in your terminal

Open any project folder in a terminal and type dianoetic. It explores your code, shows each edit as a diff before it applies it, runs your tests, and fixes what fails.

Install

You need Node.js 18 or newer. Then run one line:

Windows (PowerShell)

irm https://dianoetic.tech/install.ps1 | iex

macOS and Linux

curl -fsSL https://dianoetic.tech/install.sh | sh

Or download dianoetic.mjs and run it with node dianoetic.mjs.

Sign in with an API key

Create a key in Dianoetic under Settings → API, then run dianoetic login and paste it. Keys are included with Thinker and Thinker Max.

Use it

~/my-game dianoetic
› the player falls through the floor after a jump, fix it
● Reading Assets/Scripts/PlayerController.cs
● Editing Assets/Scripts/PlayerController.cs
  PlayerController.cs +3 -1
  - rb.MovePosition(rb.position + velocity);
  + rb.MovePosition(rb.position + velocity * Time.fixedDeltaTime);
? Apply this change? [y]es / [n]o / [a]lways

Get Thinker Prefer an app? Get Windows

Questions

Is the terminal app free?

The terminal app is free to install. It uses an API key, which comes with Thinker ($5 a month) or Thinker Max.

Does my code leave my computer?

Your files stay on your computer. Only the parts Dianoetic reads during a task are sent to generate the next step.

Can it run dangerous commands?

Every command asks for your approval first, and Dianoetic is told never to run destructive commands like deleting folders or pushing to git.