According to the Advanced setup page in Anthropic's documentation, Claude Code runs on macOS 13.0 or later, Windows 10 1809 or later, Windows Server 2019 or later, Ubuntu 20.04+, Debian 10+, and Alpine Linux 3.19+. It needs 4 GB of RAM or more, an x64 or ARM64 processor, an internet connection, and one of these shells: Bash, Zsh, PowerShell, or CMD. You also need to be in a country Anthropic supports.
The same page says Claude Code requires a Pro, Max, Ultra, Team, Enterprise, or Claude Console account, and that the free claude.ai plan does not include it. The quickstart describes the Console as API access with prepaid credits. According to Anthropic's help center, the Pro and Max plans have a five-hour session limit and a weekly limit, shared across Claude and Claude Code. Warnings appear as you approach each limit.