an open-source alternative to the dots, bots and muses of the world, run an office of claude code/codex like agents on your laptop, sandboxes or anywhere, uses your existing subscriptions
HTML agent-harnessagent-orchestrationagentsai-agentsautonomous-agentsclaude-codecodexcoding-agentsdesktop-appdeveloper-toolselectrongemini-cliharnessharness-engineeringlocal-firstmemorymulti-agentopencodeorchestrationtypescript
seo-engine: rebuild blog for the Codex CLI install guide refresh
chaitanyagiride7840104632
diff --git a/docs/blog/feed.xml b/docs/blog/feed.xmlindex f9495f7f..fc251006 100644--- a/docs/blog/feed.xml+++ b/docs/blog/feed.xml@@ -152,12 +152,12 @@<summary>Point Claude Code at Ollama with ollama launch claude or three environment variables, give the model 64K of context, and know what stops working.</summary></entry><entry>- <title>How to Install Codex CLI on Mac, Windows and Linux</title>+ <title>Codex CLI: What It Is and How to Install It on Mac, Windows and Linux</title><link href="https://munderdiffl.in/blog/how-to-install-codex-cli/" /><id>https://munderdiffl.in/blog/how-to-install-codex-cli/</id><published>2026-09-14T00:00:00.000Z</published>- <updated>2026-09-14T00:00:00.000Z</updated><category term="Guides" />- <summary>Install OpenAI's Codex CLI with the official script, npm or Homebrew, sign in with ChatGPT or an API key, then update it and check your version.</summary>+ <updated>2026-09-29T00:00:00.000Z</updated><category term="Guides" />+ <summary>Codex CLI is OpenAI's open source coding agent for the terminal. Install it on Mac, Windows or Linux, sign in, update it, check the version or remove it.</summary></entry><entry><title>Is It Worth Paying for Claude Code Max?</title>diff --git a/docs/blog/how-to-connect-ollama-to-claude-code/index.html b/docs/blog/how-to-connect-ollama-to-claude-code/index.htmlindex 531efaf5..61df916e 100644--- a/docs/blog/how-to-connect-ollama-to-claude-code/index.html+++ b/docs/blog/how-to-connect-ollama-to-claude-code/index.html@@ -291,7 +291,7 @@ API Error: Connection refused — a firewall or proxy may be blocking it (Connec</div><footer class="post-foot wrap"><div class="prevnext">- <a class="pn prev" href="/blog/how-to-install-codex-cli/"><span class="k">← Older</span><span class="t">How to Install Codex CLI on Mac, Windows and Linux</span></a>+ <a class="pn prev" href="/blog/how-to-install-codex-cli/"><span class="k">← Older</span><span class="t">Codex CLI: What It Is and How to Install It on Mac, Windows and Linux</span></a><a class="pn next" href="/blog/herdr-alternatives/"><span class="k">Newer →</span><span class="t">Herdr Alternatives: What to Pick and Who Each One Fits</span></a></div><section class="related">diff --git a/docs/blog/how-to-install-codex-cli/index.html b/docs/blog/how-to-install-codex-cli/index.htmlindex 696a840b..3b92fd1e 100644--- a/docs/blog/how-to-install-codex-cli/index.html+++ b/docs/blog/how-to-install-codex-cli/index.html@@ -18,8 +18,8 @@<meta charset="UTF-8" /><meta name="viewport" content="width=device-width, initial-scale=1.0" />-<title>How to Install Codex CLI on Mac, Windows and Linux — Munder Difflin Blog</title>-<meta name="description" content="Install OpenAI's Codex CLI with the official script, npm or Homebrew, sign in with ChatGPT or an API key, then update it and check your version." />+<title>Codex CLI: What It Is and How to Install It on Mac, Windows and Linux — Munder Difflin Blog</title>+<meta name="description" content="Codex CLI is OpenAI's open source coding agent for the terminal. Install it on Mac, Windows or Linux, sign in, update it, check the version or remove it." /><link rel="canonical" href="https://munderdiffl.in/blog/how-to-install-codex-cli/" /><link rel="icon" type="image/png" href="https://munderdiffl.in/logo.png" />@@ -29,8 +29,8 @@<!-- Open Graph --><meta property="og:site_name" content="Munder Difflin Blog" /><meta property="og:type" content="article" />-<meta property="og:title" content="How to Install Codex CLI on Mac, Windows and Linux — Munder Difflin Blog" />-<meta property="og:description" content="Install OpenAI's Codex CLI with the official script, npm or Homebrew, sign in with ChatGPT or an API key, then update it and check your version." />+<meta property="og:title" content="Codex CLI: What It Is and How to Install It on Mac, Windows and Linux — Munder Difflin Blog" />+<meta property="og:description" content="Codex CLI is OpenAI's open source coding agent for the terminal. Install it on Mac, Windows or Linux, sign in, update it, check the version or remove it." /><meta property="og:url" content="https://munderdiffl.in/blog/how-to-install-codex-cli/" /><meta property="og:image" content="https://munderdiffl.in/blog/assets/media/how-to-install-codex-cli/hero.png" /><meta property="og:image:width" content="1600" />@@ -47,8 +47,8 @@<!-- Twitter --><meta name="twitter:card" content="summary_large_image" />-<meta name="twitter:title" content="How to Install Codex CLI on Mac, Windows and Linux — Munder Difflin Blog" />-<meta name="twitter:description" content="Install OpenAI's Codex CLI with the official script, npm or Homebrew, sign in with ChatGPT or an API key, then update it and check your version." />+<meta name="twitter:title" content="Codex CLI: What It Is and How to Install It on Mac, Windows and Linux — Munder Difflin Blog" />+<meta name="twitter:description" content="Codex CLI is OpenAI's open source coding agent for the terminal. Install it on Mac, Windows or Linux, sign in, update it, check the version or remove it." /><meta name="twitter:image" content="https://munderdiffl.in/blog/assets/media/how-to-install-codex-cli/hero.png" /><meta name="twitter:image:alt" content="Hand drawn sketch: a yellow character at a desk with a terminal window, labelled npm, brew or script, and install, sign in, update" />@@ -62,11 +62,11 @@{"@context": "https://schema.org","@type": "BlogPosting",- "headline": "How to Install Codex CLI on Mac, Windows and Linux",- "description": "Install OpenAI's Codex CLI with the official script, npm or Homebrew, sign in with ChatGPT or an API key, then update it and check your version.",+ "headline": "Codex CLI: What It Is and How to Install It on Mac, Windows and Linux",+ "description": "Codex CLI is OpenAI's open source coding agent for the terminal. Install it on Mac, Windows or Linux, sign in, update it, check the version or remove it.","image": ["https://munderdiffl.in/blog/assets/media/how-to-install-codex-cli/hero.png"],"datePublished": "2026-09-14T00:00:00.000Z",- "dateModified": "2026-09-14T00:00:00.000Z",+ "dateModified": "2026-09-29T00:00:00.000Z","author": { "@type": "Person", "name": "Chaitanya Giri" },"publisher": {"@type": "Organization",@@ -74,7 +74,7 @@"logo": { "@type": "ImageObject", "url": "https://munderdiffl.in/logo.png" }},"mainEntityOfPage": { "@type": "WebPage", "@id": "https://munderdiffl.in/blog/how-to-install-codex-cli/" },- "keywords": "how to install codex cli, how to install codex cli on mac, how to install codex cli on windows, codex cli npm install, codex cli brew install, codex cli login with api key, how to update codex cli",+ "keywords": "codex cli, how to install codex cli, codex cli install, install codex cli, codex install, how to install codex, what is codex cli","articleSection": "Guides","inLanguage": "en-US","url": "https://munderdiffl.in/blog/how-to-install-codex-cli/"@@ -87,7 +87,7 @@"itemListElement": [{ "@type": "ListItem", "position": 1, "name": "Home", "item": "https://munderdiffl.in/" },{ "@type": "ListItem", "position": 2, "name": "Blog", "item": "https://munderdiffl.in/blog/" },- { "@type": "ListItem", "position": 3, "name": "How to Install Codex CLI on Mac, Windows and Linux", "item": "https://munderdiffl.in/blog/how-to-install-codex-cli/" }+ { "@type": "ListItem", "position": 3, "name": "Codex CLI: What It Is and How to Install It on Mac, Windows and Linux", "item": "https://munderdiffl.in/blog/how-to-install-codex-cli/" }]}</script>@@ -97,11 +97,11 @@"@context": "https://schema.org","@type": "FAQPage","mainEntity": [- { "@type": "Question", "name": "Do I need Node.js to install Codex CLI?", "acceptedAnswer": { "@type": "Answer", "text": "Only if you install it with npm. The @openai/codex package declares Node 16 or newer in its engines field, checked on the npm registry on 14 Sep 2026. The standalone script, the Windows PowerShell installer and the Homebrew cask all download a prebuilt binary, so they need no Node at all." } },- { "@type": "Question", "name": "Can I use Codex CLI with a free ChatGPT account?", "acceptedAnswer": { "@type": "Answer", "text": "Yes. OpenAI's Codex pricing page lists Free and Go plans next to Plus and Pro, checked 14 Sep 2026, and describes Free as a way to explore Codex on quick coding tasks. Pro comes in two tiers with 5x or 20x the usage of Plus. If you would rather pay per use, sign in with an API key instead." } },- { "@type": "Question", "name": "Why does npm install -g codex install the wrong thing?", "acceptedAnswer": { "@type": "Answer", "text": "The unscoped codex package on npm is an unrelated static site and code documentation generator, not OpenAI's agent. OpenAI publishes the CLI under its own scope, so the command is npm install -g @openai/codex. If you already installed the wrong one, remove it with npm uninstall -g codex first." } },- { "@type": "Question", "name": "Can I still sign up for ChatGPT Pro 20x to use Codex?", "acceptedAnswer": { "@type": "Answer", "text": "Not as a new subscriber at the moment. OpenAI's help center says that as of 10 Sep 2026 it is temporarily pausing new sign ups and upgrades to Pro 20x, while existing Pro 20x subscriptions keep renewing and Pro 5x is unaffected. Once a Pro 20x subscription ends, it cannot be bought again until the pause is lifted." } },- { "@type": "Question", "name": "How do I log in to Codex CLI on a server with no browser?", "acceptedAnswer": { "@type": "Answer", "text": "Run codex login with the device auth flag, open the link it prints on any machine with a browser, and enter the one time code. OpenAI marks device code login as beta, and you have to enable it in your ChatGPT security settings first. The fallback is to sign in on a machine with a browser and copy the cached auth.json file across." } }+ { "@type": "Question", "name": "Is Codex CLI free?", "acceptedAnswer": { "@type": "Answer", "text": "The CLI is free and open source under the Apache-2.0 licence, but the model calls behind it need a ChatGPT plan or an OpenAI API key. OpenAI's Codex pricing page lists Free, Go, Plus and Pro for individuals, checked 29 Sep 2026, so a free ChatGPT account can sign in. An API key bills per use instead." } },+ { "@type": "Question", "name": "Do I need Node.js to install Codex CLI?", "acceptedAnswer": { "@type": "Answer", "text": "Only if you install it with npm. The @openai/codex package declares Node 16 or newer in its engines field, checked on the npm registry on 29 Sep 2026. The standalone script, the Windows PowerShell installer and the Homebrew cask all download a prebuilt binary, so they need no Node at all." } },+ { "@type": "Question", "name": "What is the difference between Codex CLI and the Codex app?", "acceptedAnswer": { "@type": "Answer", "text": "Codex CLI runs in your terminal; the Codex app is OpenAI's desktop app with its own window. Both come from OpenAI and sign in with the same ChatGPT account. Running codex app from the CLI launches the desktop app, or opens its installer if it is missing." } },+ { "@type": "Question", "name": "Why does npm install -g codex install the wrong thing?", "acceptedAnswer": { "@type": "Answer", "text": "The unscoped codex package on npm is an unrelated documentation generator, not OpenAI's agent. OpenAI publishes the CLI under its own scope, so the command is npm install -g @openai/codex. If you already installed the wrong one, remove it with npm uninstall -g codex first." } },+ { "@type": "Question", "name": "How do I log in to Codex CLI on a server with no browser?", "acceptedAnswer": { "@type": "Answer", "text": "Run codex login with the device auth flag, open the link it prints on any device with a browser, and enter the one time code. OpenAI marks device code login as beta, and it has to be enabled first: in your ChatGPT security settings on a personal account, or by a workspace admin on a work account. The fallbacks are copying the cached auth.json across over SSH, or forwarding port 1455 so the normal browser login works." } }]}@@ -170,15 +170,15 @@<span>/</span><a href="/blog/topics/guides/">Guides</a></nav>- <h1>How to Install Codex CLI on Mac, Windows and Linux</h1>- <p class="dek">Install OpenAI's Codex CLI with the official script, npm or Homebrew, sign in with ChatGPT or an API key, then update it and check your version.</p>+ <h1>Codex CLI: What It Is and How to Install It on Mac, Windows and Linux</h1>+ <p class="dek">Codex CLI is OpenAI's open source coding agent for the terminal. Install it on Mac, Windows or Linux, sign in, update it, check the version or remove it.</p><div class="byline"><span class="av" aria-hidden="true">MD</span><strong>Chaitanya Giri</strong><span class="dot" aria-hidden="true">·</span><time datetime="2026-09-14">Sep 14, 2026</time><span class="dot" aria-hidden="true">·</span>- <span>4 min read</span>+ <span>7 min read</span><span class="tag kind">Guides</span></div></header>@@ -187,42 +187,105 @@<div class="post-wrap wrap"><div class="prose">- <p>To install Codex CLI, run <code>curl -fsSL https://chatgpt.com/codex/install.sh | sh</code> on macOS or Linux, or OpenAI’s PowerShell installer on Windows. npm (<code>npm install -g @openai/codex</code>) and Homebrew (<code>brew install --cask codex</code>) work too. Then run <code>codex</code> in a project folder, sign in with ChatGPT or an API key, and confirm it with <code>codex --version</code>.</p>-<p>This is OpenAI’s Codex CLI, the coding agent that runs in your terminal. It is not the Codex IDE extension, not Codex cloud in the browser, and not the unscoped <code>codex</code> package on npm, which is an unrelated documentation generator. The current stable release is <a href="https://github.com/openai/codex/releases/tag/rust-v0.154.0">0.154.0, published on GitHub on 9 Sep 2026 (UTC)</a>.</p>-<p>You can install and run Codex by hand, or use <a href="https://harnessmd.com/download">Munder Difflin</a>, a free and open source desktop app that runs Codex agents next to Claude Code and other CLIs on one screen. As of 0.5.2, its onboarding marks Codex as INSTALLED or INSTALLS ON FIRST RUN, and if <code>codex</code> is missing when you start a Codex agent, it runs <code>npm install -g @openai/codex</code> in that agent’s terminal (installing Node first if needed) and relaunches it. Each Codex agent gets its own <code>CODEX_HOME</code> that links in your <code>~/.codex/auth.json</code> when your login lives in that file, so the sign in from your terminal carries over and your own config stays untouched. The <a href="/blog/how-to-install-and-use-munder-difflin/">Munder Difflin install guide</a> covers that setup.</p>+ <p>Codex CLI is OpenAI’s open source coding agent for the terminal, and you install it with one command: <code>curl -fsSL https://chatgpt.com/codex/install.sh | sh</code> on macOS or Linux, or OpenAI’s PowerShell installer on Windows. npm and Homebrew work too. Then run <code>codex</code> in a project, sign in with ChatGPT or an API key, and check <code>codex --version</code>.</p>+<p>You can do all of this by hand, or use <a href="https://harnessmd.com/download">Munder Difflin</a>, free and open source, a desktop app that runs Codex agents next to Claude Code and other CLIs on one screen. As of Munder Difflin 0.5.3, onboarding marks Codex as INSTALLED or INSTALLS ON FIRST RUN. If <code>codex</code> is missing when a Codex agent starts, the app runs <code>npm install -g @openai/codex</code> in that agent’s terminal, installing Node first when npm is absent and a Node installer is available (otherwise it falls back to a manual step), then relaunches the agent. Each Codex agent gets its own <code>CODEX_HOME</code> that links your <code>~/.codex/auth.json</code> and seeds its settings from your <code>config.toml</code>, so your terminal login carries over and your own <code>~/.codex</code> stays as it was. The <a href="/blog/how-to-install-and-use-munder-difflin/">Munder Difflin install guide</a> covers that setup.</p>+<h2 id="what-is-codex-cli" tabindex="-1">What is Codex CLI? <a class="anchor" href="#what-is-codex-cli" aria-hidden="true">#</a></h2>+<p>Codex CLI is OpenAI’s coding agent that runs locally in your terminal: you describe a change, and it reads your repository, edits files and runs commands within the permissions you give it.</p>+<p>The source lives at <a href="https://github.com/openai/codex">openai/codex on GitHub</a> under the Apache-2.0 licence. It’s written in Rust, so the standalone install is a native binary rather than a Node app. Plain <code>codex</code> opens the interactive terminal UI, and the same binary scripts well: <code>codex exec</code> runs a task non interactively (handy in CI), <code>codex review</code> reviews your changes, <code>codex resume</code> picks up an earlier session, and <code>codex mcp</code> connects outside tools over MCP.</p>+<p>“Codex” also names three other OpenAI products, which is where most confusion starts:</p>+<ul>+<li><strong>The Codex app</strong>, a desktop app. <code>codex app</code> launches it, or opens its installer if it’s missing.</li>+<li><strong>The Codex IDE extension</strong> for VS Code, Cursor and Windsurf.</li>+<li><strong>Codex Web</strong>, the cloud agent at <a href="http://chatgpt.com/codex">chatgpt.com/codex</a>, which works in the browser instead of on your machine.</li>+</ul>+<p>And one thing that isn’t OpenAI’s at all: the unscoped <code>codex</code> package on npm, an unrelated documentation generator.</p>+<h2 id="which-codex-cli-install-method-should-i-use" tabindex="-1">Which Codex CLI install method should I use? <a class="anchor" href="#which-codex-cli-install-method-should-i-use" aria-hidden="true">#</a></h2>+<p>Use the standalone installer unless you already manage your tools with Homebrew or npm. It needs no Node, and updating is just running it again. Checked on 29 Sep 2026, when the current stable release was <a href="https://github.com/openai/codex/releases/tag/rust-v0.158.0">0.158.0, published on GitHub on 28 Sep 2026 (UTC)</a>; npm and Homebrew both served 0.158.0 the same day.</p>+<div class="table-scroll">+<table>+<thead>+<tr>+<th>Method</th>+<th>Platforms</th>+<th>Needs Node?</th>+<th>Installs <code>codex</code> to</th>+<th>Update with</th>+</tr>+</thead>+<tbody>+<tr>+<td>Standalone script</td>+<td>macOS, Linux</td>+<td>No</td>+<td><code>~/.local/bin</code></td>+<td>Rerun the script</td>+</tr>+<tr>+<td>PowerShell installer</td>+<td>Windows (x64, ARM64)</td>+<td>No</td>+<td><code>%LOCALAPPDATA%\Programs\OpenAI\Codex\bin</code></td>+<td>Rerun the installer</td>+</tr>+<tr>+<td>Homebrew cask</td>+<td>macOS, Linux</td>+<td>No</td>+<td>Homebrew’s prefix</td>+<td><code>brew upgrade --cask codex</code></td>+</tr>+<tr>+<td>npm</td>+<td>macOS, Linux, Windows</td>+<td>Node 16+</td>+<td>npm’s global folder</td>+<td><code>npm install -g @openai/codex</code></td>+</tr>+</tbody>+</table>+</div>+<p>Pick the script if you want the fewest moving parts. Pick Homebrew if every other tool on the machine already comes from <code>brew</code>. Pick npm if Node is already how you install developer tools, or your company mirrors the npm registry.</p><h2 id="how-do-i-install-codex-cli-on-mac-or-linux" tabindex="-1">How do I install Codex CLI on Mac or Linux? <a class="anchor" href="#how-do-i-install-codex-cli-on-mac-or-linux" aria-hidden="true">#</a></h2>-<p>Run OpenAI’s standalone installer, which downloads a prebuilt binary, so no Node install is needed:</p>+<p>Run OpenAI’s standalone installer, which downloads a prebuilt binary, so there’s nothing to set up first:</p><pre class="language-bash"><code class="language-bash"><span class="token function">curl</span> <span class="token parameter variable">-fsSL</span> https://chatgpt.com/codex/install.sh <span class="token operator">|</span> <span class="token function">sh</span></code></pre>-<p>The script puts <code>codex</code> in <code>~/.local/bin</code> (set <code>CODEX_INSTALL_DIR</code> to change that), keeps each release under <code>~/.codex/packages/standalone</code>, and adds the folder to your shell profile if it’s missing, printing an <code>export PATH</code> line for the terminal you’re in. We read the script on 14 Sep 2026, and it also looks for an existing Homebrew or npm copy, warns that “PATH order decides which one runs”, and offers to uninstall the other one. Pick one method and stay with it.</p>+<p>We read the script again on 29 Sep 2026. It detects Apple Silicon, Intel Macs and x64 or ARM64 Linux, puts <code>codex</code> in <code>~/.local/bin</code>, and keeps each release under <code>~/.codex/packages/standalone/releases</code>. If that folder isn’t on your <code>PATH</code>, it adds a block marked <code># >>> Codex installer >>></code> to your shell profile and prints the <code>export PATH</code> line for the terminal you’re in. <code>CODEX_INSTALL_DIR</code> changes the target folder, and <code>--release</code> pins a version:</p>+<pre class="language-bash"><code class="language-bash"><span class="token function">curl</span> <span class="token parameter variable">-fsSL</span> https://chatgpt.com/codex/install.sh <span class="token operator">|</span> <span class="token function">sh</span> <span class="token parameter variable">-s</span> -- <span class="token parameter variable">--release</span> <span class="token number">0.157</span>.1</code></pre>+<p>The script also looks for an existing Homebrew or npm copy, warns that “PATH order decides which one runs”, and offers to uninstall the other one. Pick one method and stay with it.</p><figure class="fig fig-inline"><img src="/blog/assets/media/how-to-install-codex-cli/note-1.png" alt="Hand drawn sketch: a character at a desk typing into a terminal" loading="lazy" decoding="async" /></figure>-<p>On the Mac this post was written on, checked on 14 Sep 2026, the layout matches (home folder shortened to <code>~</code>):</p>-<pre class="language-text"><code class="language-text">$ codex --version-codex-cli 0.153.4-$ readlink ~/.local/bin/codex-~/.codex/packages/standalone/current/bin/codex-$ readlink ~/.codex/packages/standalone/current-~/.codex/packages/standalone/releases/0.153.4-aarch64-apple-darwin</code></pre>-<p>Prefer a package manager? Both are listed on <a href="https://learn.chatgpt.com/docs/codex/cli">OpenAI’s Codex CLI page</a>:</p>+<p>Prefer a package manager? OpenAI’s README lists both:</p><pre class="language-bash"><code class="language-bash">brew <span class="token function">install</span> <span class="token parameter variable">--cask</span> codex <span class="token comment"># Homebrew</span><span class="token function">npm</span> <span class="token function">install</span> <span class="token parameter variable">-g</span> @openai/codex <span class="token comment"># npm</span></code></pre>-<p>The npm package declares Node 16 or newer in its <code>engines</code> field (npm registry, checked 14 Sep 2026). Mind the scope: <code>npm install -g codex</code> without <code>@openai/</code> fetches somebody else’s project entirely.</p>+<p>The npm package declares Node 16 or newer in its <code>engines</code> field (npm registry, checked 29 Sep 2026). Some guides ask for Node 18 or 22; that’s stricter than the package itself. Mind the scope: <code>npm install -g codex</code> without <code>@openai/</code> installs somebody else’s project entirely.</p><h2 id="how-do-i-install-codex-cli-on-windows" tabindex="-1">How do I install Codex CLI on Windows? <a class="anchor" href="#how-do-i-install-codex-cli-on-windows" aria-hidden="true">#</a></h2>-<p>Open PowerShell and run OpenAI’s Windows installer, which installs a native <code>codex.exe</code>:</p>+<p>Open PowerShell and run OpenAI’s Windows installer, which installs a native <code>codex.exe</code> with no WSL needed:</p><pre class="language-powershell"><code class="language-powershell">powershell <span class="token operator">-</span>ExecutionPolicy ByPass <span class="token operator">-</span>c <span class="token string">"irm https://chatgpt.com/codex/install.ps1 | iex"</span></code></pre>-<p>OpenAI’s CLI page lists this native installer alongside npm, so you don’t need WSL just to get started. If your repositories already live in WSL2, open your WSL shell and run the Linux command from the previous section there instead, so Codex runs inside Linux right next to your code.</p>+<p>The script puts the command in <code>%LOCALAPPDATA%\Programs\OpenAI\Codex\bin</code> and adds that folder to your user <code>Path</code>, so open a new PowerShell window afterwards. The repo’s own requirements table still lists Windows 11 via WSL2, but the README now leads with this native installer. If your repositories already live in WSL2, run the Linux command from the previous section inside your WSL shell instead, so Codex works right next to your code.</p><h2 id="how-do-i-sign-in-to-codex-cli" tabindex="-1">How do I sign in to Codex CLI? <a class="anchor" href="#how-do-i-sign-in-to-codex-cli" aria-hidden="true">#</a></h2>-<p>Run <code>codex</code> in a project folder and choose Sign in with ChatGPT, which opens a browser and hands your credentials back to the terminal. OpenAI’s <a href="https://learn.chatgpt.com/docs/auth">authentication docs</a> say the login is cached in <code>~/.codex/auth.json</code> or your OS credential store, and to treat that file like a password. <code>codex login status</code> shows which method is active.</p>-<figure class="fig fig-inline"><img src="/blog/assets/media/how-to-install-codex-cli/note-2.png" alt="Hand drawn sketch: a character carrying a letter towards a box" loading="lazy" decoding="async" /></figure>-<p>Codex is included in ChatGPT plans, and OpenAI’s <a href="https://learn.chatgpt.com/docs/pricing">Codex pricing page</a> lists Free, Go, Plus and Pro, with Pro sold as Pro 5x or Pro 20x, plus Business, Edu and Enterprise workspaces (checked 14 Sep 2026). One recent change: <a href="https://help.openai.com/en/articles/9793128-about-chatgpt-pro-tiers">OpenAI’s help center</a> says that as of 10 Sep 2026 it is temporarily pausing new sign ups and upgrades to Pro 20x. Existing Pro 20x subscriptions and Pro 5x are not affected.</p>-<p>For CI, or if you’d rather pay per use at standard API rates, pipe an API key in. This is the example <code>codex login --help</code> itself prints:</p>+<p>Run <code>codex</code> in a project folder and pick Sign in with ChatGPT, which opens a browser and hands the login back to the terminal. OpenAI’s <a href="https://learn.chatgpt.com/docs/auth">authentication docs</a> say the credentials are cached in <code>~/.codex/auth.json</code> by default, or in your OS credential store if you set <code>cli_auth_credentials_store</code>. Treat that file like a password. <code>codex login status</code> shows which method is active.</p>+<p>For CI, or to pay per use at API rates, pipe an API key in:</p><pre class="language-bash"><code class="language-bash"><span class="token function">printenv</span> OPENAI_API_KEY <span class="token operator">|</span> codex login --with-api-key</code></pre>-<p>On a remote box with no browser, <code>codex login --device-auth</code> gives you a one time code to enter elsewhere. OpenAI marks it beta, and it has to be enabled in your ChatGPT security settings first.</p>+<p>On a server with no browser, <code>codex login --device-auth</code> prints a link and a one time code to enter on any other device. It’s in beta and has to be enabled first: in your ChatGPT security settings on a personal account, or by a workspace admin in workspace permissions. The docs also describe two fallbacks: copy <code>auth.json</code> across over SSH, or forward <code>localhost:1455</code> so the normal browser flow works.</p>+<figure class="fig fig-inline"><img src="/blog/assets/media/how-to-install-codex-cli/note-2.png" alt="Hand drawn sketch: a character carrying a letter towards a box" loading="lazy" decoding="async" /></figure>+<h2 id="is-codex-cli-free" tabindex="-1">Is Codex CLI free? <a class="anchor" href="#is-codex-cli-free" aria-hidden="true">#</a></h2>+<p>The CLI itself is free and open source, but the model calls behind it need a ChatGPT plan or an API key. OpenAI’s <a href="https://learn.chatgpt.com/docs/pricing">Codex pricing page</a> lists Free, Go, Plus and Pro (in 5x and 20x usage tiers) for individuals, Business, Enterprise and Edu for teams, and API key billing for pay per use (checked 29 Sep 2026). The same page carries a notice worth knowing before you settle on a model: GPT-5.5 retires from ChatGPT and Codex on all plans on 14 Oct 2026, while the API is not affected.</p><h2 id="how-do-i-update-codex-cli" tabindex="-1">How do I update Codex CLI? <a class="anchor" href="#how-do-i-update-codex-cli" aria-hidden="true">#</a></h2>-<p>Run the same command you installed with, except on Homebrew, where it’s <code>brew upgrade --cask codex</code>. OpenAI’s CLI page gives the standalone script and <code>npm install -g @openai/codex</code> as their own update commands. <code>codex --help</code> on our 0.153.4 also lists an <code>update</code> command, described as “Update Codex to the latest version”, which OpenAI says works only when the installed release supports self update.</p>-<p>That Mac is a fair example of why you’ll use it. 0.153.4 shipped on 4 Sep and 0.154.0 on 9 Sep, so falling a release behind takes about five days of not paying attention.</p>+<p>Rerun the command you installed with, except on Homebrew, where it’s <code>brew upgrade --cask codex</code>. <code>codex --help</code> also lists an <code>update</code> command, described as “Update Codex to the latest version”.</p>+<p>This is the step people skip. Here is the Mac this post was written on, on 29 Sep 2026:</p>+<pre class="language-text"><code class="language-text">$ codex --version+codex-cli 0.153.4+$ ls ~/.codex/packages/standalone/releases+0.137.0-aarch64-apple-darwin+0.153.4-aarch64-apple-darwin</code></pre>+<p>Since 0.153.4, OpenAI has shipped eight stable releases, from 0.154.0 on 9 Sep to 0.158.0 on 28 Sep, with alpha builds landing most days in between. Falling behind takes no effort at all. The listing also shows that old builds stay in the releases folder after an update, so 0.137.0 is still on disk.</p><h2 id="how-do-i-check-which-codex-cli-version-i-have" tabindex="-1">How do I check which Codex CLI version I have? <a class="anchor" href="#how-do-i-check-which-codex-cli-version-i-have" aria-hidden="true">#</a></h2>-<p>Run <code>codex --version</code>, which prints <code>codex-cli</code> followed by the version number. If the shell says <code>codex</code> isn’t found right after installing, open a new terminal so the updated <code>PATH</code> loads. If the version looks stale after an update, you probably have two installs, and <code>which -a codex</code> lists them in the order your shell picks them. For anything stranger, <code>codex doctor</code> checks the installation, config, auth and runtime health in one report.</p>-<p>Once it runs, <a href="/blog/codex-cli-vs-claude-code/">Codex CLI vs Claude Code</a> explains the sandbox and approval flags you’ll meet on your first task, and <a href="/blog/run-a-mixed-engine-office/">running a mixed engine office</a> shows where a Codex agent fits next to other CLIs. Adding Google’s terminal agent too? <a href="/blog/how-to-install-gemini-cli/">How to install Gemini CLI</a> covers the install and which accounts Google still serves.</p>+<p>Run <code>codex --version</code>, which prints <code>codex-cli</code> followed by the version number. If the shell can’t find <code>codex</code> right after installing, open a new terminal so the updated <code>PATH</code> loads. If the version looks stale after an update, you probably have two installs: <code>which -a codex</code> lists them in the order your shell tries them. For anything stranger, <code>codex doctor</code> checks the installation, config, auth and runtime health in one report.</p>+<h2 id="how-do-i-uninstall-codex-cli" tabindex="-1">How do I uninstall Codex CLI? <a class="anchor" href="#how-do-i-uninstall-codex-cli" aria-hidden="true">#</a></h2>+<p>Uninstall with the tool you installed with: <code>npm uninstall -g @openai/codex</code> or <code>brew uninstall --cask codex</code>. The standalone script has no uninstall option, so remove what it created (paths from the script, read on 29 Sep 2026):</p>+<pre class="language-bash"><code class="language-bash"><span class="token function">rm</span> ~/.local/bin/codex+<span class="token function">rm</span> ~/.local/bin/codex-code-mode-host <span class="token comment"># macOS only</span>+<span class="token function">rm</span> <span class="token parameter variable">-rf</span> ~/.codex/packages/standalone</code></pre>+<p>Then delete the <code># >>> Codex installer >>></code> block from your shell profile if the script added one. On Windows, delete <code>%LOCALAPPDATA%\Programs\OpenAI\Codex\bin</code> and <code>%USERPROFILE%\.codex\packages\standalone</code>, and take the bin folder out of your user <code>Path</code>. Leave the rest of <code>~/.codex</code> alone unless you want a clean slate: it holds your config, your login and your saved sessions.</p>+<p>Once it runs, <a href="/blog/codex-cli-vs-claude-code/">Codex CLI vs Claude Code</a> explains the sandbox and approval flags you’ll meet on your first task, and <a href="/blog/run-a-mixed-engine-office/">running a mixed engine office</a> shows where a Codex agent fits next to other CLIs.</p>@@ -230,28 +293,28 @@ $ readlink ~/.codex/packages/standalone/current<h2 id="faq">FAQ</h2><div class="qa">- <p class="q">Do I need Node.js to install Codex CLI?</p>- <p class="a">Only if you install it with npm. The @openai/codex package declares Node 16 or newer in its engines field, checked on the npm registry on 14 Sep 2026. The standalone script, the Windows PowerShell installer and the Homebrew cask all download a prebuilt binary, so they need no Node at all.</p>+ <p class="q">Is Codex CLI free?</p>+ <p class="a">The CLI is free and open source under the Apache-2.0 licence, but the model calls behind it need a ChatGPT plan or an OpenAI API key. OpenAI's Codex pricing page lists Free, Go, Plus and Pro for individuals, checked 29 Sep 2026, so a free ChatGPT account can sign in. An API key bills per use instead.</p></div><div class="qa">- <p class="q">Can I use Codex CLI with a free ChatGPT account?</p>- <p class="a">Yes. OpenAI's Codex pricing page lists Free and Go plans next to Plus and Pro, checked 14 Sep 2026, and describes Free as a way to explore Codex on quick coding tasks. Pro comes in two tiers with 5x or 20x the usage of Plus. If you would rather pay per use, sign in with an API key instead.</p>+ <p class="q">Do I need Node.js to install Codex CLI?</p>+ <p class="a">Only if you install it with npm. The @openai/codex package declares Node 16 or newer in its engines field, checked on the npm registry on 29 Sep 2026. The standalone script, the Windows PowerShell installer and the Homebrew cask all download a prebuilt binary, so they need no Node at all.</p></div><div class="qa">- <p class="q">Why does npm install -g codex install the wrong thing?</p>- <p class="a">The unscoped codex package on npm is an unrelated static site and code documentation generator, not OpenAI's agent. OpenAI publishes the CLI under its own scope, so the command is npm install -g @openai/codex. If you already installed the wrong one, remove it with npm uninstall -g codex first.</p>+ <p class="q">What is the difference between Codex CLI and the Codex app?</p>+ <p class="a">Codex CLI runs in your terminal; the Codex app is OpenAI's desktop app with its own window. Both come from OpenAI and sign in with the same ChatGPT account. Running codex app from the CLI launches the desktop app, or opens its installer if it is missing.</p></div><div class="qa">- <p class="q">Can I still sign up for ChatGPT Pro 20x to use Codex?</p>- <p class="a">Not as a new subscriber at the moment. OpenAI's help center says that as of 10 Sep 2026 it is temporarily pausing new sign ups and upgrades to Pro 20x, while existing Pro 20x subscriptions keep renewing and Pro 5x is unaffected. Once a Pro 20x subscription ends, it cannot be bought again until the pause is lifted.</p>+ <p class="q">Why does npm install -g codex install the wrong thing?</p>+ <p class="a">The unscoped codex package on npm is an unrelated documentation generator, not OpenAI's agent. OpenAI publishes the CLI under its own scope, so the command is npm install -g @openai/codex. If you already installed the wrong one, remove it with npm uninstall -g codex first.</p></div><div class="qa"><p class="q">How do I log in to Codex CLI on a server with no browser?</p>- <p class="a">Run codex login with the device auth flag, open the link it prints on any machine with a browser, and enter the one time code. OpenAI marks device code login as beta, and you have to enable it in your ChatGPT security settings first. The fallback is to sign in on a machine with a browser and copy the cached auth.json file across.</p>+ <p class="a">Run codex login with the device auth flag, open the link it prints on any device with a browser, and enter the one time code. OpenAI marks device code login as beta, and it has to be enabled first: in your ChatGPT security settings on a personal account, or by a workspace admin on a work account. The fallbacks are copying the cached auth.json across over SSH, or forwarding port 1455 so the normal browser login works.</p></div></section>@@ -270,7 +333,7 @@ $ readlink ~/.codex/packages/standalone/current<aside class="toc-rail" aria-label="Table of contents"><div class="tt">On this page</div><ol>- <li class="lvl-2"><a href="#how-do-i-install-codex-cli-on-mac-or-linux">How do I install Codex CLI on Mac or Linux?</a></li><li class="lvl-2"><a href="#how-do-i-install-codex-cli-on-windows">How do I install Codex CLI on Windows?</a></li><li class="lvl-2"><a href="#how-do-i-sign-in-to-codex-cli">How do I sign in to Codex CLI?</a></li><li class="lvl-2"><a href="#how-do-i-update-codex-cli">How do I update Codex CLI?</a></li><li class="lvl-2"><a href="#how-do-i-check-which-codex-cli-version-i-have">How do I check which Codex CLI version I have?</a></li>+ <li class="lvl-2"><a href="#what-is-codex-cli">What is Codex CLI?</a></li><li class="lvl-2"><a href="#which-codex-cli-install-method-should-i-use">Which Codex CLI install method should I use?</a></li><li class="lvl-2"><a href="#how-do-i-install-codex-cli-on-mac-or-linux">How do I install Codex CLI on Mac or Linux?</a></li><li class="lvl-2"><a href="#how-do-i-install-codex-cli-on-windows">How do I install Codex CLI on Windows?</a></li><li class="lvl-2"><a href="#how-do-i-sign-in-to-codex-cli">How do I sign in to Codex CLI?</a></li><li class="lvl-2"><a href="#is-codex-cli-free">Is Codex CLI free?</a></li><li class="lvl-2"><a href="#how-do-i-update-codex-cli">How do I update Codex CLI?</a></li><li class="lvl-2"><a href="#how-do-i-check-which-codex-cli-version-i-have">How do I check which Codex CLI version I have?</a></li><li class="lvl-2"><a href="#how-do-i-uninstall-codex-cli">How do I uninstall Codex CLI?</a></li></ol></aside>diff --git a/docs/blog/index.html b/docs/blog/index.htmlindex d689cab2..56b0bd05 100644--- a/docs/blog/index.html+++ b/docs/blog/index.html@@ -512,13 +512,13 @@<div class="meta"><time datetime="2026-09-14">Sep 14, 2026</time><span class="dot" aria-hidden="true"></span>- <span>4 min</span>+ <span>7 min</span></div>- <h3><a href="/blog/how-to-install-codex-cli/">How to Install Codex CLI on Mac, Windows and Linux</a></h3>- <p class="dek">Install OpenAI's Codex CLI with the official script, npm or Homebrew, sign in with ChatGPT or an API key, then update it and check your version.</p>+ <h3><a href="/blog/how-to-install-codex-cli/">Codex CLI: What It Is and How to Install It on Mac, Windows and Linux</a></h3>+ <p class="dek">Codex CLI is OpenAI's open source coding agent for the terminal. Install it on Mac, Windows or Linux, sign in, update it, check the version or remove it.</p><div class="foot"><span class="tag kind">Guides</span>- <a class="more" href="/blog/how-to-install-codex-cli/" aria-label="Read: How to Install Codex CLI on Mac, Windows and Linux">Read →</a>+ <a class="more" href="/blog/how-to-install-codex-cli/" aria-label="Read: Codex CLI: What It Is and How to Install It on Mac, Windows and Linux">Read →</a></div></div></article>diff --git a/docs/blog/is-claude-code-max-worth-it/index.html b/docs/blog/is-claude-code-max-worth-it/index.htmlindex 09535cbe..3b42ba4e 100644--- a/docs/blog/is-claude-code-max-worth-it/index.html+++ b/docs/blog/is-claude-code-max-worth-it/index.html@@ -300,7 +300,7 @@ available as a monthly subscription only<footer class="post-foot wrap"><div class="prevnext"><a class="pn prev" href="/blog/is-claude-code-open-source/"><span class="k">← Older</span><span class="t">Is Claude Code Open Source?</span></a>- <a class="pn next" href="/blog/how-to-install-codex-cli/"><span class="k">Newer →</span><span class="t">How to Install Codex CLI on Mac, Windows and Linux</span></a>+ <a class="pn next" href="/blog/how-to-install-codex-cli/"><span class="k">Newer →</span><span class="t">Codex CLI: What It Is and How to Install It on Mac, Windows and Linux</span></a></div><section class="related"><h2>Related in Concepts</h2>diff --git a/docs/blog/tags/codex/index.html b/docs/blog/tags/codex/index.htmlindex 0bff5865..b84290f3 100644--- a/docs/blog/tags/codex/index.html+++ b/docs/blog/tags/codex/index.html@@ -131,13 +131,13 @@<div class="meta"><time datetime="2026-09-14">Sep 14, 2026</time><span class="dot" aria-hidden="true"></span>- <span>4 min</span>+ <span>7 min</span></div>- <h3><a href="/blog/how-to-install-codex-cli/">How to Install Codex CLI on Mac, Windows and Linux</a></h3>- <p class="dek">Install OpenAI's Codex CLI with the official script, npm or Homebrew, sign in with ChatGPT or an API key, then update it and check your version.</p>+ <h3><a href="/blog/how-to-install-codex-cli/">Codex CLI: What It Is and How to Install It on Mac, Windows and Linux</a></h3>+ <p class="dek">Codex CLI is OpenAI's open source coding agent for the terminal. Install it on Mac, Windows or Linux, sign in, update it, check the version or remove it.</p><div class="foot"><span class="tag kind">Guides</span>- <a class="more" href="/blog/how-to-install-codex-cli/" aria-label="Read: How to Install Codex CLI on Mac, Windows and Linux">Read →</a>+ <a class="more" href="/blog/how-to-install-codex-cli/" aria-label="Read: Codex CLI: What It Is and How to Install It on Mac, Windows and Linux">Read →</a></div></div></article>diff --git a/docs/blog/tags/engines/index.html b/docs/blog/tags/engines/index.htmlindex 2bf0163f..a14432dc 100644--- a/docs/blog/tags/engines/index.html+++ b/docs/blog/tags/engines/index.html@@ -147,13 +147,13 @@<div class="meta"><time datetime="2026-09-14">Sep 14, 2026</time><span class="dot" aria-hidden="true"></span>- <span>4 min</span>+ <span>7 min</span></div>- <h3><a href="/blog/how-to-install-codex-cli/">How to Install Codex CLI on Mac, Windows and Linux</a></h3>- <p class="dek">Install OpenAI's Codex CLI with the official script, npm or Homebrew, sign in with ChatGPT or an API key, then update it and check your version.</p>+ <h3><a href="/blog/how-to-install-codex-cli/">Codex CLI: What It Is and How to Install It on Mac, Windows and Linux</a></h3>+ <p class="dek">Codex CLI is OpenAI's open source coding agent for the terminal. Install it on Mac, Windows or Linux, sign in, update it, check the version or remove it.</p><div class="foot"><span class="tag kind">Guides</span>- <a class="more" href="/blog/how-to-install-codex-cli/" aria-label="Read: How to Install Codex CLI on Mac, Windows and Linux">Read →</a>+ <a class="more" href="/blog/how-to-install-codex-cli/" aria-label="Read: Codex CLI: What It Is and How to Install It on Mac, Windows and Linux">Read →</a></div></div></article>diff --git a/docs/blog/tags/getting-started/index.html b/docs/blog/tags/getting-started/index.htmlindex 9475e30d..e6bf67a1 100644--- a/docs/blog/tags/getting-started/index.html+++ b/docs/blog/tags/getting-started/index.html@@ -147,13 +147,13 @@<div class="meta"><time datetime="2026-09-14">Sep 14, 2026</time><span class="dot" aria-hidden="true"></span>- <span>4 min</span>+ <span>7 min</span></div>- <h3><a href="/blog/how-to-install-codex-cli/">How to Install Codex CLI on Mac, Windows and Linux</a></h3>- <p class="dek">Install OpenAI's Codex CLI with the official script, npm or Homebrew, sign in with ChatGPT or an API key, then update it and check your version.</p>+ <h3><a href="/blog/how-to-install-codex-cli/">Codex CLI: What It Is and How to Install It on Mac, Windows and Linux</a></h3>+ <p class="dek">Codex CLI is OpenAI's open source coding agent for the terminal. Install it on Mac, Windows or Linux, sign in, update it, check the version or remove it.</p><div class="foot"><span class="tag kind">Guides</span>- <a class="more" href="/blog/how-to-install-codex-cli/" aria-label="Read: How to Install Codex CLI on Mac, Windows and Linux">Read →</a>+ <a class="more" href="/blog/how-to-install-codex-cli/" aria-label="Read: Codex CLI: What It Is and How to Install It on Mac, Windows and Linux">Read →</a></div></div></article>diff --git a/docs/blog/tags/guides/index.html b/docs/blog/tags/guides/index.htmlindex f706ffae..a49b32d6 100644--- a/docs/blog/tags/guides/index.html+++ b/docs/blog/tags/guides/index.html@@ -211,13 +211,13 @@<div class="meta"><time datetime="2026-09-14">Sep 14, 2026</time><span class="dot" aria-hidden="true"></span>- <span>4 min</span>+ <span>7 min</span></div>- <h3><a href="/blog/how-to-install-codex-cli/">How to Install Codex CLI on Mac, Windows and Linux</a></h3>- <p class="dek">Install OpenAI's Codex CLI with the official script, npm or Homebrew, sign in with ChatGPT or an API key, then update it and check your version.</p>+ <h3><a href="/blog/how-to-install-codex-cli/">Codex CLI: What It Is and How to Install It on Mac, Windows and Linux</a></h3>+ <p class="dek">Codex CLI is OpenAI's open source coding agent for the terminal. Install it on Mac, Windows or Linux, sign in, update it, check the version or remove it.</p><div class="foot"><span class="tag kind">Guides</span>- <a class="more" href="/blog/how-to-install-codex-cli/" aria-label="Read: How to Install Codex CLI on Mac, Windows and Linux">Read →</a>+ <a class="more" href="/blog/how-to-install-codex-cli/" aria-label="Read: Codex CLI: What It Is and How to Install It on Mac, Windows and Linux">Read →</a></div></div></article>diff --git a/docs/blog/topics/guides/index.html b/docs/blog/topics/guides/index.htmlindex 31c736d5..e25d868d 100644--- a/docs/blog/topics/guides/index.html+++ b/docs/blog/topics/guides/index.html@@ -269,13 +269,13 @@<div class="meta"><time datetime="2026-09-14">Sep 14, 2026</time><span class="dot" aria-hidden="true"></span>- <span>4 min</span>+ <span>7 min</span></div>- <h3><a href="/blog/how-to-install-codex-cli/">How to Install Codex CLI on Mac, Windows and Linux</a></h3>- <p class="dek">Install OpenAI's Codex CLI with the official script, npm or Homebrew, sign in with ChatGPT or an API key, then update it and check your version.</p>+ <h3><a href="/blog/how-to-install-codex-cli/">Codex CLI: What It Is and How to Install It on Mac, Windows and Linux</a></h3>+ <p class="dek">Codex CLI is OpenAI's open source coding agent for the terminal. Install it on Mac, Windows or Linux, sign in, update it, check the version or remove it.</p><div class="foot"><span class="tag kind">Guides</span>- <a class="more" href="/blog/how-to-install-codex-cli/" aria-label="Read: How to Install Codex CLI on Mac, Windows and Linux">Read →</a>+ <a class="more" href="/blog/how-to-install-codex-cli/" aria-label="Read: Codex CLI: What It Is and How to Install It on Mac, Windows and Linux">Read →</a></div></div></article>diff --git a/docs/llms.txt b/docs/llms.txtindex e2dc0e73..6dddfad2 100644--- a/docs/llms.txt+++ b/docs/llms.txt@@ -55,7 +55,7 @@- [How to Install Gemini CLI, and Who Can Still Use It in 2026](https://munderdiffl.in/blog/how-to-install-gemini-cli/): Install Google's Gemini CLI with npm on Mac, Windows or Linux, why Homebrew is stuck on 0.46.0, and which sign in still works after 18 Jun 2026.- [How to Connect Slack to Munder Difflin 0.5.2](https://munderdiffl.in/blog/connect-slack-to-munder-difflin/): Connect Slack to Munder Difflin 0.5.2: create the Slack app, add the bot scopes, pick one of three connection modes, and get answers in the thread.- [How to Connect Ollama to Claude Code](https://munderdiffl.in/blog/how-to-connect-ollama-to-claude-code/): Point Claude Code at Ollama with ollama launch claude or three environment variables, give the model 64K of context, and know what stops working.-- [How to Install Codex CLI on Mac, Windows and Linux](https://munderdiffl.in/blog/how-to-install-codex-cli/): Install OpenAI's Codex CLI with the official script, npm or Homebrew, sign in with ChatGPT or an API key, then update it and check your version.+- [Codex CLI: What It Is and How to Install It on Mac, Windows and Linux](https://munderdiffl.in/blog/how-to-install-codex-cli/): Codex CLI is OpenAI's open source coding agent for the terminal. Install it on Mac, Windows or Linux, sign in, update it, check the version or remove it.- [Why Does Claude Code Keep Asking for Permission?](https://munderdiffl.in/blog/why-does-claude-code-keep-asking-for-permission/): Claude Code asks because Manual mode gates edits, shell commands and web requests. The fixes, safest first: modes, allow rules, sandboxing, then bypass.- [How to Use Claude Code Plan Mode](https://munderdiffl.in/blog/how-to-use-claude-code-plan-mode/): How Claude Code's plan mode works: turning it on, what it blocks, what a real headless plan mode run prints, and how to leave it.- [How to Add an MCP Server to Claude Code](https://munderdiffl.in/blog/how-to-add-an-mcp-server-to-claude-code/): The claude mcp add command, its scope flag, editing .mcp.json by hand, and how Munder Difflin's Capabilities screen grants an MCP server to one agent at a time.diff --git a/docs/sitemap.xml b/docs/sitemap.xmlindex fc9267bd..2354beae 100644--- a/docs/sitemap.xml+++ b/docs/sitemap.xml@@ -10,7 +10,7 @@<urlset xmlns="http://www.sitemaps.org/schemas/sitemap/0.9"><url><loc>https://munderdiffl.in/</loc>- <lastmod>2026-09-26</lastmod>+ <lastmod>2026-09-29</lastmod><changefreq>weekly</changefreq><priority>1.0</priority></url>@@ -130,7 +130,7 @@</url><url><loc>https://munderdiffl.in/blog/how-to-install-codex-cli/</loc>- <lastmod>2026-09-14</lastmod>+ <lastmod>2026-09-29</lastmod><changefreq>monthly</changefreq><priority>0.8</priority></url>