---
title: "Codex CLI adapter: Kotharo"
version: v0.8.3
canonical: https://kotharo.com/docs/adapters/codex-cli/
---

# Codex CLI

Connects Kotharo to Codex CLI for local review. [All adapters](https://kotharo.com/docs/adapters/)

## What you need

- The `codex` command, from [Codex CLI](https://learn.chatgpt.com/docs/codex/cli).

## Connect

`/kotharo:setup` finds Codex CLI and takes you through these steps. To connect it by hand:

Install Codex CLI. [Its install page](https://learn.chatgpt.com/docs/codex/cli) covers other systems.

macOS:

```
brew install --cask codex
```

Windows, in Git Bash:

```
powershell -ExecutionPolicy ByPass -c "irm https://chatgpt.com/codex/install.ps1 | iex"
```

Linux:

```
npm install -g @openai/codex
```

## Sign in

Run codex login in a terminal and sign in with your ChatGPT account.

To check you are signed in, run `codex login status`.

Generated from Kotharo v0.8.3.
