Skip to main content

Using Claude Code with OnDemand Apps

Claude Code is a terminal-based tool, so from Carina OnDemand you run it through an app’s built-in terminal. Because these sessions already run on a compute node (not a login node), you don’t need a separate srun step first.

The Command

Once you have a terminal open in any of the apps below, run:

ml claude-code
claude

Opening a Terminal

VS Code: Terminal > New Terminal (or Ctrl+`).

RStudio: The Terminal tab next to the Console pane.

JupyterLab: From the Launcher, open a Terminal (or File > New > Terminal).

MATLAB: The MATLAB OnDemand session is a graphical environment and doesn’t include its own terminal panel. Run Claude Code alongside it from a separate session instead — for example, SSH into Carina and request a compute node with srun — while your MATLAB session keeps running independently.