---
title: JetBrains in the CLI
link: https://ampcode.com/news/jetbrains-in-the-cli
source: ampcode-com
published: 2025-08-07T00:00:00Z
updated: 2025-08-07T00:00:00Z
first_seen: 2026-10-04T12:50:30.804479567Z
summary: You can now connect the Amp CLI to JetBrains IDEs. This provides Amp with context about your current file and selection. It also allows Amp to edit files directly through the IDE. Update the Amp CLI to the latest version and run amp --jetbrains from the root of your project. Learn more about the new JetBrains integration in the manual.
content: extracted
html: 2025-08-07-jetbrains-in-the-cli.html
---

You can now connect the [Amp CLI](https://ampcode.com/manual#getting-started-command-line-interface) to JetBrains IDEs.

This provides Amp with context about your current file and selection. It also allows Amp to edit files directly through the IDE.

[Update the Amp CLI](https://ampcode.com/manual#getting-started-command-line-interface) to the latest version and run `amp --jetbrains` from the root of your project.

Learn more about the new JetBrains integration [in the manual.](https://ampcode.com/manual#jetbrains)
