Enable Morph Fast Apply for faster edits

configuration

// what it does

Set MORPH_API_KEY via export or your .env to turn on Morph Fast Apply, which applies file edits at 4,500+ tokens/sec with high accuracy. Get the key from the Morph dashboard; it is optional and independent of your Grok key.

// shell

$ export MORPH_API_KEY=your-morph-key
$ echo 'MORPH_API_KEY=your-morph-key' >> .env

// gotcha

Morph is a separate paid service with its own key and billing — without MORPH_API_KEY the CLI just uses its built-in editor, so this is opt-in. The key only affects editing speed, not talking to Grok.

// resources