Claude Code: Difference between revisions
Appearance
mNo edit summary |
mNo edit summary |
||
| Line 1: | Line 1: | ||
{| class="wikitable" style=" | {| class="wikitable" style="margin-right: 0px; margin-left: auto;" width="400px" | ||
| Other articles | | Other articles | ||
|- | |- | ||
| Line 11: | Line 11: | ||
</DynamicPageList> | </DynamicPageList> | ||
|} | |} | ||
== Installation on Ubuntu (WSL2) == | == Installation on Ubuntu (WSL2) == | ||
Revision as of 09:14, 30 July 2025
| Other articles |
Installation on Ubuntu (WSL2)
sudo apt install npm mkdir -p ~/.npm-global npm config set prefix ~/.npm-global echo 'export PATH=~/.npm-global/bin:$PATH' >> ~/.bashrc source ~/.bashrc npm install -g @anthropic-ai/claude-code which claude claude doctor claude --version
settings.json
| file | scope | |
|---|---|---|
| User settings | ~/.claude/settings.json
|
|
| Project settings | .claude/settings.json
|
all users |
| Project settings | .claude/settings.local.json
|
local/personal only |
Example:
{
"permissions": {
"allow": [
"Bash(ls:*)"
],
"deny": []
}
}
Sub agent configuration
| file | |
|---|---|
| User sub agents | ~/.claude/agents/
|
| Project sub agents | .claude/agents/
|
Command line options
claude # interactive mode claude "task" # run single task claude -p "task" # run single task, print response, exit claude --dangerously-skip-permissions claude config list claude mcp list claude doctor claude update