AI – Codex and Claude path on macOS

, ,

Hi all, I was reading about the new AI features in beta, and wanted to give them a try. I have both codex and claude CLIs installed but, in Rhino’s AI preferences window, they are not found.

I am not surprised that the tools are not found automatically, I do not keep them installed at the standard location, but the “Found at:” text area is not editable, so I can’t actually tell Rhino where to find the binaries. Is this an issue, or am I doing something wrong?

Thank you in advance for your help!

Hi Cesare,

you’re not doing anything wrong — the “Found at:” box is read-only, it just shows what was found. Right now RhinoAI only looks in a fixed set of locations, and your $PATH isn’t consulted at all. On macOS it searches:

claude:  ~/.local/bin/claude
         ~/.local/share/claude/versions/*
         ~/Library/Application Support/Claude/claude-code/**/claude.app/Contents/MacOS/claude
         /opt/homebrew/bin/claude
         /usr/local/bin/claude

codex:   /Applications/ChatGPT.app/Contents/Resources/codex
         ~/.nvm/versions/node/**/bin/codex
         /opt/homebrew/bin/codex
         /usr/local/bin/codex

until you can set the path yourself, a symlink into one of those works:

mkdir -p ~/.local/bin
ln -s /your/path/to/claude ~/.local/bin/claude
sudo ln -s /your/path/to/codex /usr/local/bin/codex

then reopen the AI preferences and it should pick them up.

We do have a feature request open for an editable per-agent path, i’ll add your case to it: RH-99169

Thank you, a symlink worked perfectly!

Hello @Japhy

The same problem with Windows 11.

Claude primary installation folder is in WindowsApps (install way doesn’t matter - store or .exe)

This folder in “invisible” for Rhino. If i create symlink to the alternative folder then Rhino can see Claude, but after prompt command line write error:

[Claude] error: An error occurred trying to start process ‘C:\Users\username\.local\bin\claude.exe’ with working directory ‘C:\Users\username\AppData\Local\Temp\’. The system cannot find the specified file.

How can i solve this?

Hi Chita,

Rather than linking to the existing install, delete that symlink and install the Claude Code CLI on its own. In PowerShell run irm https://claude.ai/install.ps1 | iex, that puts claude.exe in C:\Users\<you>\.local\bin\ which is where Rhino already looks, then reopen the AI settings. Being able to set the path yourself is tracked in RH-99169, i’ve added your case there.

Hi @Japhy ,

thank you very much, this is working, great! :+1:

Unfourtanely needs “Pro” or “Max” version of Claude, i just waht to try it…:confused: