# AI-assisted coding in the terminal

Codex CLI is a coding agent that runs in the terminal on your local computer. It can review code, make changes to files, and run commands.

- ★ 121,623
- GitHub Trending · 2026-08-23

## Installation
**macOS or Linux**

```
curl -fsSL https://chatgpt.com/codex/install.sh | sh
```

**Windows PowerShell**

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


## Running it
**Start Codex CLI**

```
codex
```


## What does this tool do?
Codex CLI is a coding agent that runs in the terminal on your local computer. It can review code in a project directory, make changes to files, run commands, and help automate repetitive tasks.

## Who it is for
Developers who want to work in the terminal, review the codebase, edit files, and automate repetitive development tasks.

## What not to expect
It may not be suitable for those who do not want to use the terminal.

## Highlights
- It can review code and make changes to files.
- It can run commands and automate repetitive tasks.
- The model, reasoning effort, permissions, and command approvals can be managed by the user.
- The GitHub repository is licensed under Apache-2.0.

## First-use flow
- Choose the official installation method suitable for your operating system.
- Start Codex CLI after installation.
- Log in with ChatGPT or another available login method.
- Start from the project directory. Create a Git checkpoint before and after changes.

## Safe start

## First task prompt
For your first use, you can start with a review request that explains the project's purpose and file structure.

## Related dictionary terms

## Links
- GitHub repository →
- Official Codex CLI documentation →
- Read in Turkish →

---
Source: TreScout Discover · https://trescout.com/en/discover/codex/
