Core Installation
1. System
Prepare your operating system for AI-powered development. Install essential dependencies on your platform.
3 min read
Before anything else, prepare your system with the base dependencies that various tools require. Select your platform:
Update system packages
sudo apt update && sudo apt upgrade -yInstall essential tools
sudo apt install -y build-essential curl wget unzip git jq ripgrep iproute2 net-toolsWhy does this matter?
build-essential/ Xcode CLT — C/C++ compilers needed to install native packages (Node, Python)curl/wget— all official installers use one of thesegit— Claude Code relies heavily on Git to navigate, commit, and create PRsjq— command-line JSON processor, recommended by the official docs for parsing programmatic mode output (claude -p), and used in hooks and pluginsripgrep— fast file search (rg), used internally by Claude Code to search through source code. It comes bundled with Claude Code, but installing it separately ensures it works in other contexts too
Passwordless Sudo — Autonomy for Claude Code
Claude Code frequently needs sudo to install tools and adjust the system. Without the configuration below, it gets stuck waiting for the password.
Configure passwordless sudo
echo "$USER ALL=(ALL:ALL) NOPASSWD: ALL" | sudo tee /etc/sudoers.d/$USERThis removes the password barrier for all sudo commands. Suitable for personal development machines, but not recommended for production servers.