promptdojo_

You're on the npm install path. You type npm i -g @openai/codex and the terminal says command not found: npm.

What does this tell you, and what do you fix first?

read, then continue.