From here.
First, make sure you have “node.js“ and “git“ installed.
Install Claude Code
1 | npm install -g @anthropic-ai/claude-code |
Get the API key
In my case, I use “DeepSeek“. You can use other LLM model providers(such as “kimi“) as well.
Setup Claude Code to use the API key
Update the “~/.claude/settings.json” file with the following content:
1 | { |
Open terminal, create a directory, get into it, and type “claude” to open the cli tool. If everything works, you should be able to play.