Answer: Install the public package globally with `npm install -g @openai/codex-security`, then check its version with `codex-security --version`. You can also run it without a global installation using `npx @openai/codex-security --version`. Status: Confirmed Entry: tool/codex/install-and-setup/install-verify-cli Revision: 2 Digest: sha256:eb0b29a503b086ff (changes whenever the content changes) Timeline: Created: 2026-11-13T03:52:55Z Last changed: 2026-11-18T13:35:10Z (Plugin version check: — → info --json) Last verified: 2026-11-20T13:41:26Z Next check: 2026-11-21T13:41:26Z Check interval: Daily Expected change: No fixed schedule Data: Field | Value | Source | As of Install command | npm install -g @openai/codex-security | [1] | 2026-11-20 Verify command | codex-security --version | [1] | 2026-11-20 Package name | @openai/codex-security | [1] | 2026-11-20 Alias | cs | [1] | 2026-11-20 npx verify command | npx @openai/codex-security --version | [1] | 2026-11-20 Plugin version check | info --json | [1] | 2026-11-20 Sources: [1] OpenAI. "Codex Security CLI quickstart". https://learn.chatgpt.com/docs/security/cli.md Role: primary. Accessed: 2026-11-20T13:41:26Z Quote: "npm install -g @openai/codex-security" (Supports: Install command, Package name) Quote: "codex-security --version" (Supports: Verify command) Quote: "The package provides the `codex-security` command and its `cs` alias." (Supports: Alias) Quote: "npx @openai/codex-security --version" (Supports: npx verify command) Quote: "Use `info --json` to check the bundled plugin version, or `--help` to list commands." (Supports: Plugin version check) Snapshot SHA-256: 167f7e160e9f2b85a5d4d78806dc08d84f77a4cadadbb17e22263619eb6331dc (captured 2026-11-17T14:06:26Z) Verification: Method: Automated extraction from [1] with deepseek-flash (JSON output, thinking disabled). Every value was checked by code to appear verbatim in a quoted passage of [1]. On this check the text of [1] was unchanged since 2026-11-17T14:06:27Z, so the values verified then were kept. Cross-check: not-available at 2026-11-20T13:41:26Z. No independent second source is configured for this entry Last successful check: 2026-11-20T13:41:26Z Last attempt: 2026-11-20T13:41:26Z Notes and limitations: Extracted automatically from a single official source (section "Set up and verify the CLI"). Related: https://latestn.com/tool/codex/install-and-setup/pair-codex-micro-bluetooth How do I pair Codex Micro with Bluetooth? https://latestn.com/tool/codex/install-and-setup/run-codex-sign-in How do I run Codex and sign in for the first time? https://latestn.com/tool/codex/install-and-setup/sandbox-prerequisites What are the prerequisites for using the Codex sandbox with Work Cloud? https://latestn.com/tool/codex/install-and-setup/install-enable-ide-extension How do I install or enable the Codex IDE extension in VS Code? https://latestn.com/tool/codex/install-and-setup/install-sdk How do I install the Codex Security TypeScript SDK? https://latestn.com/tool/codex/install-and-setup/install-security-plugin How do I install the Codex Security plugin in the ChatGPT desktop app? https://latestn.com/tool/ All entries in AI tools Change log: Time | Event | Change | Source 2026-11-18T13:35:10Z | changed | Plugin version check: — → info --json | [1] 2026-11-18T13:35:10Z | changed | Alias: — → cs | [1] 2026-11-18T13:35:10Z | changed | Package name: — → @openai/codex-security | [1] 2026-11-18T13:35:10Z | changed | Verify command: — → codex-security --version | [1] 2026-11-18T13:35:10Z | changed | Install command: — → npm install -g @openai/codex-security | [1] 2026-11-18T13:35:10Z | changed | plugin version check: info --json → — | [1] 2026-11-18T13:35:10Z | changed | alias: cs → — | [1] 2026-11-18T13:35:10Z | changed | package name: @openai/codex-security → — | [1] 2026-11-18T13:35:10Z | changed | verify command: codex-security --version → — | [1] 2026-11-18T13:35:10Z | changed | install command: npm install -g @openai/codex-security → — | [1] 2026-11-13T03:52:55Z | added | Entry created | — Changes for this entry as a feed: https://latestn.com/tool/codex/install-and-setup/install-verify-cli/latest Challenge this entry: Open challenges: None How: If a value here is wrong or out of date, send what is wrong and a link to evidence. Challenges are queued and checked against the evidence; they do not change the entry by themselves. If the entry changes as a result, the change log says so. Form: https://latestn.com/dispute/tool/codex/install-and-setup/install-verify-cli POST: https://latestn.com/dispute/tool/codex/install-and-setup/install-verify-cli with claim, evidence_url, and optionally field and contact (form-encoded or JSON) GET: https://latestn.com/dispute/tool/codex/install-and-setup/install-verify-cli?claim={what is wrong}&evidence_url={link} How to cite: LatestN. (2026). How do I install and verify the Codex Security CLI? Revision 2, last verified 2026-11-20T13:41:26Z. https://latestn.com/tool/codex/install-and-setup/install-verify-cli (accessed 2026-11-21T09:53:19Z). @misc{LatestN_tool_codex_install_and_setup_install_verify_cli_r2, title = {How do I install and verify the Codex Security CLI?}, author = {{LatestN}}, year = {2026}, howpublished = {\url{https://latestn.com/tool/codex/install-and-setup/install-verify-cli}}, note = {Revision 2; digest sha256:eb0b29a503b086ff; last verified 2026-11-20T13:41:26Z; accessed 2026-11-21T09:53:19Z} } Reuse: License: CC BY 4.0 (https://creativecommons.org/licenses/by/4.0/) Attribution: Copying and adapting are allowed, including commercially, if you credit LatestN and link to the entry you used. Each entry ends with a ready-made citation. URL: https://latestn.com/tool/codex/install-and-setup/install-verify-cli