codex cli on windows
Codex provider status Codex CLI is installed but failed to run. 'codex' is not recognized as an internal or external command, operable program or batch file.
And the t3code github page states: You need to have Codex CLI installed and authorized for T3 Code to work.
There is not really an installation for windows. I download the codex binary, put it somewhere and add it to path. So yes, "codex" or "codex.exe" is in my path and authorized. I also tried downloading the official Windows Store Codex app because I thought that might be the "official" installation this is talking about. Well the official codex app works, t3code creates the exact same error. Bad first experience with this project and urging people to give it a try when it can't even run easily on native windows is probably not the right call.
I also hate that t3code is an installation on Windows. I despise any kind of installation. There is just no need ever unless you do something with drivers. Just provide a zip with the binary and all needed resources that I can extract anywhere I want and run. There is never an excuse to want to install something. It is easy enough to bootstrap setup stuff into the binary itself.
I think you downloaded Codex from the Microsoft Store. That installs the Codex app, not the Codex CLI that T3 Code requires.
You need to install the Codex CLI using a package manager such as npm or bun.
For example, using bun:
bun i -g @openai/codex
After the installation finishes, close the terminal and open a new one. Then run:
codex login
Once authentication is complete, the Codex CLI should be working.
After that, run T3 Code. Make sure you downloaded the correct release from the official repository:
https://github.com/pingdotgg/t3code/releases/download/v0.0.4/T3-Code-0.0.4-x64.exe
Ah I see the issue. It only works when it is launched precisely from "C:\Users\user\AppData\Local\Programs\t3-code-desktop". When I move it somewhere else it stops working. As I said, I hate installations and I have all my dev tools on an usb stick. Well, you should mabye think about handling this like the opencode ui because that is just an exe file in the same folder as the cli and it just runs and works.
fine by me
npx t3 exists lmao
I found that when i tried to run t3 code before installing codex cli on windows was I had to install the codex cli then delete ~/.t3 which then picked up the codex setup properly after reopening t3
Should hopefully be fixed by #1729 which will be included in the next release