Installing Claude Code on VSCode Browser

$ npm install -g @anthropic-ai/claude-code

Some versions of claude code are broken, the latest tested version is:

$ npm install -g @anthropic-ai/claude-code@2.1.89

Then run:

$ /gpfs0/runai-utils/setup-claude-vscode-open-folder.sh

*If you dint have npm on your conda env create a new one:

#Create the environment with Node.js 18 (Claude code requires >=16)

$ conda create -n claude-env nodejs=18 -c conda-forge

#Activate the environment

$ conda activate claude-env