Depending on the specific tool you are targeting (the official OpenAI API wrapper or the agentic coding tool), use one of the following commands.
Complete Guide: Install OpenAI Codex CLI in Windows Subsystem for Linux (WSL2) install codex cli wsl
Reload your profile to apply the changes: Depending on the specific tool you are targeting
He pasted it into his .bashrc , sourced the file, and ran newcomp Button . sourced the file
Once installed and authenticated, you can invoke the tool from anywhere in your WSL terminal.