Skip to content

Update README with npx usage instructions for Codex#7800

Closed
994AK wants to merge 2 commits into
openai:mainfrom
994AK:main
Closed

Update README with npx usage instructions for Codex#7800
994AK wants to merge 2 commits into
openai:mainfrom
994AK:main

Conversation

@994AK

@994AK 994AK commented Dec 10, 2025

Copy link
Copy Markdown

Summary

Add documentation for running Codex via npx so that users can try the CLI without installing it globally.

Changes

  • Update the top-level installation snippet to include:
    • npx @openai/codex@latest as an alternative to global installation.
  • Extend the Quickstart section with a short example and explanation of running Codex via npx.

Motivation

Some users prefer to try Codex CLI without modifying their global environment or installing additional binaries. Providing an npx example:

  • Lowers the friction for first-time users.
  • Matches common patterns in other JavaScript/TypeScript tooling.
  • Makes it clearer how to quickly run the latest version of Codex.

For CI or automation scenarios, the docs also encourage pinning a specific version instead of relying on @latest to avoid unexpected breakage from future releases.

Related issue

  • Closes #

I have read the CLA Document and I hereby sign the CLA

Added instructions for using npx to run Codex without global installation.
@github-actions

github-actions Bot commented Dec 10, 2025

Copy link
Copy Markdown
Contributor

All contributors have signed the CLA ✍️ ✅
Posted by the CLA Assistant Lite bot.

@994AK 994AK closed this Dec 10, 2025
@994AK 994AK reopened this Dec 10, 2025
@994AK 994AK closed this Dec 10, 2025
@994AK 994AK reopened this Dec 10, 2025
@994AK

994AK commented Dec 10, 2025

Copy link
Copy Markdown
Author

I have read the CLA Document and I hereby sign the CLA

github-actions Bot added a commit that referenced this pull request Dec 10, 2025
@etraut-openai

Copy link
Copy Markdown
Collaborator

Thanks for the contribution, but I think we'll pass on this. We want to keep the installation instructions minimal and simple.

swordfish444 pushed a commit to swordfish444/codex that referenced this pull request Feb 26, 2026
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants