Learn how to install Claude Code on macOS and Linux using npm for a smooth setup and authentication with Anthropic.