Install Claude Code CLI

Written by

in

curl -fsSL https://claude.ai/install.sh | bash
Bash
code ~/.claude/settings.json
Bash
nano ~/.claude/settings.json
Bash
{
  "model": "opus",
  "statusLine": {
    "type": "command",
    "command": "input=$(cat); cwd=$(echo \"$input\" | jq -r '.workspace.current_dir // .cwd'); printf '\\033[01;32m%s@%s\\033[00m:\\033[01;34m%s\\033[00m' \"$(whoami)\" \"$(hostname -s)\" \"$cwd\""
  },
  "enabledPlugins": {
    "gopls-lsp@claude-plugins-official": true
  },
  "sandbox": {
    "enabled": true,
    "failIfUnavailable": true,
    "autoAllowBashIfSandboxed": true,
    "allowUnsandboxedCommands": true
  },
  "feedbackDrafts": "notify",
  "subagentPromptCacheTtl": "1h",
  "modelSettings": {
    "claude-opus-5-5": {
      "effortLevel": "xhigh"
    }
  },
  "tui": "fullscreen",
  "theme": "dark",
  "switchModelsOnFlag": false
}
JSON
sudo apt install ripgrep socat bubblewrap socat -y
Bash

Comments

Leave a Reply

Your email address will not be published. Required fields are marked *