[FEATURE] Add support for riscv64 architecture

Resolved 💬 2 comments Opened Jan 20, 2026 by dengxifeng Closed Jan 20, 2026

Preflight Checklist

  • [x] I have searched existing requests and this feature hasn't been requested yet
  • [x] This is a single feature request (not multiple features)

Problem Statement

Claude Code CLI currently throws an "Unsupported architecture: riscv64" error when running on riscv64 systems. Please add support for this architecture.

When attempting to run Claude Code CLI on a riscv64 system, the following error occurs:

Error: Unsupported architecture: riscv64
at Pp (file:///usr/local/lib/node_modules/@anthropic-ai/claude-code/cli.js:2820:35117)
at Gt (file:///usr/local/lib/node_modules/@anthropic-ai/claude-code/cli.js:2820:35429)

Proposed Solution

Claude Code CLI should detect and support riscv64 architecture, similar to how it supports x86_64 and arm64.

Alternative Solutions

_No response_

Priority

High - Significant impact on productivity

Feature Category

Configuration and settings

Use Case Example

  • RISC-V is an increasingly popular open-source ISA used in embedded systems, IoT devices, and server environments
  • Many developers are working on RISC-V platforms and would benefit from Claude Code CLI support

Additional Context

The CLI appears to have architecture detection logic that currently only handles common architectures. Adding riscv64 support would enable the growing RISC-V developer community to use Claude Code CLI in their workflows.

View original on GitHub ↗

This issue has 2 comments on GitHub. Read the full discussion on GitHub ↗