microsoft / microsoft/winget-pkgs

[Package Issue]: OpenAI.Codex

Open
#317,082 7 comments 0 reactions 0 assignees View on GitHub
Issue-Bug Needs-Triage
Dominant language
No language data
Stars
11.1k
Forks
9.7k
PR merge metrics
PR metrics pending

Description

### Please confirm these before moving forward

- [x] I have searched for my issue and not found a work-in-progress/duplicate/resolved issue.
- [x] I have not been informed if the issue is resolved in a preview version of the winget client.

### Category of the issue

Other

### Brief description of your issue

It seems like this package installs a dependency that is not needed by OpenAI Codex.

Additional Package: BurntSushi.ripgrep.MSVC

```yaml
# Created with komac v2.13.0
# yaml-language-server: $schema=https://aka.ms/winget-manifest.installer.1.10.0.schema.json

PackageIdentifier: OpenAI.Codex
PackageVersion: 0.63.0
InstallerType: zip
NestedInstallerType: portable
Commands:
- codex
ReleaseDate: 2025-11-21
Installers:
- Architecture: x64
NestedInstallerFiles:
- RelativeFilePath: codex-x86_64-pc-windows-msvc.exe
PortableCommandAlias: codex
InstallerUrl: https://github.com/openai/codex/releases/download/rust-v0.63.0/codex-x86_64-pc-windows-msvc.exe.zip
InstallerSha256: 37ADC6BC142A9A422A50F55A2B6E474B91D65EF4FE850D312BDEDFDB63D7C38F
Dependencies:
PackageDependencies:
- PackageIdentifier: BurntSushi.ripgrep.MSVC
- PackageIdentifier: Microsoft.VCRedist.2015+.x64
- Architecture: arm64
NestedInstallerFiles:
- RelativeFilePath: codex-aarch64-pc-windows-msvc.exe
PortableCommandAlias: codex
InstallerUrl: https://github.com/openai/codex/releases/download/rust-v0.63.0/codex-aarch64-pc-windows-msvc.exe.zip
InstallerSha256: 70B4F8EB1E0B9340C6EBDECBD7286A297DE4B5D40FB046FAFC84DAF293DD3E13
Dependencies:
PackageDependencies:
- PackageIdentifier: BurntSushi.ripgrep.MSVC
- PackageIdentifier: Microsoft.VCRedist.2015+.arm64
ManifestType: installer
ManifestVersion: 1.10.0
```

### Steps to reproduce

Run:
```powershell
winget install --id OpenAI.Codex --source winget
```

### Actual behavior

Output you will see:

```powershell
PS R:\source> winget install --id OpenAI.Codex --source winget
Found Codex CLI [OpenAI.Codex] Version 0.63.0
This application is licensed to you by its owner.
Microsoft is not responsible for, nor does it grant any licenses to, third-party packages.
This package requires the following dependencies:
- Packages
BurntSushi.ripgrep.MSVC
Microsoft.VCRedist.2015+.x64
(1/1) Found RipGrep MSVC [BurntSushi.ripgrep.MSVC] Version 15.1.0
This application is licensed to you by its owner.
Microsoft is not responsible for, nor does it grant any licenses to, third-party packages.
Downloading https://github.com/BurntSushi/ripgrep/releases/download/15.1.0/ripgrep-15.1.0-x86_64-pc-windows-msvc.zip
██████████████████████████████ 1.72 MB / 1.72 MB
Successfully verified installer hash
Extracting archive...
Successfully extracted archive
Starting package install...
Command line alias added: "rg"
Successfully installed

Downloading https://github.com/openai/codex/releases/download/rust-v0.63.0/codex-x86_64-pc-windows-msvc.exe.zip
██████████████████████████████ 16.2 MB / 16.2 MB
Successfully verified installer hash
Extracting archive...
Successfully extracted archive
Starting package install...
Command line alias added: "codex"
Successfully installed
```

### Expected behavior

Should only install the correct version of OpenAI's Codex CLI

### Environment

```raw
PS R:\source> winget --info
Windows Package Manager v1.12.350
Copyright (c) Microsoft Corporation. All rights reserved.

Windows: Windows.Desktop v10.0.26100.7171
System Architecture: X64
Package: Microsoft.DesktopAppInstaller v1.27.349.0

Winget Directories
-----------------------------------------------------------------------------------------------------------------------
Logs %LOCALAPPDATA%\Packages\Microsoft.DesktopAppInstaller_8wekyb3d8bbwe\LocalState\Diag…
User Settings %LOCALAPPDATA%\Packages\Microsoft.DesktopAppInstaller_8wekyb3d8bbwe\LocalState\sett…
Portable Links Directory (User) %LOCALAPPDATA%\Microsoft\WinGet\Links
Portable Links Directory (Machine) C:\Program Files\WinGet\Links
Portable Package Root (User) %LOCALAPPDATA%\Microsoft\WinGet\Packages
Portable Package Root C:\Program Files\WinGet\Packages
Portable Package Root (x86) C:\Program Files (x86)\WinGet\Packages
Installer Downloads %USERPROFILE%\Downloads
Configuration Modules %LOCALAPPDATA%\Microsoft\WinGet\Configuration\Modules

Links
---------------------------------------------------------------------------
Privacy Statement https://aka.ms/winget-privacy
License Agreement https://aka.ms/winget-license
Third Party Notices https://aka.ms/winget-3rdPartyNotice
Homepage https://aka.ms/winget
Windows Store Terms https://www.microsoft.com/en-us/storedocs/terms-of-sale

Admin Setting State
--------------------------------------------------
LocalManifestFiles Disabled
BypassCertificatePinningForMicrosoftStore Disabled
InstallerHashOverride Disabled
LocalArchiveMalwareScanOverride Disabled
ProxyCommandLineOptions Disabled
DefaultProxy Disabled
```

### Screenshots and Logs

_No response_

Contributor guide

Open the contributing guide

Research direction

Locate the OpenAI.Codex manifest and inspect the installer dependency declarations shown in the issue. Run the provided winget install command before and after the change; done means the Codex CLI installs without the BurntSushi.ripgrep.MSVC dependency while retaining the required architecture-specific runtime dependency.

Written by the indexing model from the issue text.

Assessment

Tech stack
yaml
Domain
tooling
Issue type
Bug
Difficulty
2/5
Estimated time
1-3 hours
Activity status
Stale
Clarity
Mostly clear
Newbie friendliness
55/100

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.