SONUB
EN English 한국어 日本語 中文 हिन्दी বাংলা اردو Español Português Français Deutsch Русский العربية Bahasa Indonesia Tiếng Việt ไทย Türkçe

How to enable notifications

Notifications are unavailable in this browser or on this address. Try a supported browser on the secure SONUB site.

If notifications are blocked, allow them in your browser settings.

  1. Open the site controls beside the address bar, or your browser’s site settings. Set Notifications for this site to Allow.
  2. In your device settings, allow notifications for your browser and check Do Not Disturb or Focus.
  3. Return to SONUB, reload the page, and use the bell to enable notifications.

On iPhone or iPad, add SONUB to your Home Screen, open it there, then allow notifications.

OpenAI

Codex — OpenAI’s coding agent

Type codex in a project folder and it starts. It reads your project, edits files and runs commands to test its own work. This page covers installing it and your first run, and links to the course chapters that go deeper.

Basics — install it and do your first task

New to it? Start here. Learn what Codex is, install it and follow the first five steps. When you have done them all, move on to the [Intermediate] tab above.

What it is

Codex is OpenAI’s . It works in the (Codex ), as a extension and in the ChatGPT app. With codex you can also hand work to a cloud environment and apply the result on your own computer.

Rules for your project go in AGENTS.md, an open format that many coding agents read. You choose what Codex may do with /permissions.

What you need

  • An account: sign in with ChatGPT (Plus, Pro, Business, Edu or Enterprise plans). You can also sign in with an API key, which needs extra setup.
  • A computer: macOS or Linux (install script) or Windows (PowerShell install script). npm and Homebrew work too.
  • A project folder to work in — ideally a Git repository, so every change can be reviewed and undone.
New to the terminal? Start with the SONUB shell course

Install

On macOS and Linux run the first line; on Windows run the PowerShell line. If you installed with the script, run the same command again to update.

macOS · Linux
curl -fsSL https://chatgpt.com/codex/install.sh | sh

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

npm
npm install -g @openai/codex

Homebrew
brew install --cask codex

Check the installation

Open a new terminal window. codex --version should print a version number. If you see “command not found”, open the terminal again and check your PATH.

codex --version

First run — five steps

  1. Go to your project folder, run codex and choose “Sign in with ChatGPT”.
  2. Ask “Tell me about this project” so it reads the project.
  3. Run /init to create AGENTS.md, then write your test command and the rules to follow.
  4. Use /permissions to choose what Codex may do without asking.
  5. Give a task that names the file, the behaviour and how to check it. Read the , run the tests yourself, then .

Features you will use often

  • AGENTS.md — project instructions read in every session (start with /init)
  • /permissions — how far it may edit files and run commands
  • codex exec "…" — run without the chat screen, for scripts and pipelines
  • codex cloud — hand work to a cloud environment and apply the result locally
  • The code editor extension and the ChatGPT app — the same Codex in other places
  • Agent skills — teach repeated work with SKILL.md folders in .agents/skills/

Use it safely

  • If it changes more than you asked, stop it, undo with git restore and ask again naming the exact files.
  • Read the diff even when the tests pass, and commit only what you understand.
  • For a big task, ask for a plan first and hand it over in small pieces.

Learn more on SONUB

Official documentation

Checked against the official documentation on 2026-10-18. These tools change often — if a command fails, see the official docs.

Guidelines

AI

Certificate

Study

Vibe Coding

Game

Practice

Teachers

Chat

Forum

Create

Community

More

Glossary

Pick a word you don't know. You'll see a simple explanation and related terms.

No matching term yet.

Pick a term to see its explanation.