[BUG] RISC-V unsupported?
Status Closed — not planned
Maintainer reply ✓ Yes — ant-kurt
Activity 10 comments · opened Nov 3, 2025 · closed Feb 3, 2026
💡 Likely answer: A maintainer (ant-kurt, collaborator)
responded on this thread — see the highlighted reply below.
Preflight Checklist
- [x] I have searched existing issues and this hasn't been reported yet
- [x] This is a single bug report (please file separate reports for different bugs)
- [x] I am using the latest version of Claude Code
What's Wrong?
When I run Claude-code on RISC-V / ubuntu 24.04 I now and then get this error:
"This error originated either by throwing inside of an async function without a catch block, or by rejecting a promise which was not handled with .catch(). The promise rejected with the reason:
Error: Unsupported architecture: riscv64"
So somehow there is something crashing Claude a bit now and then - and sometimes (not often) I even get segmentation fault.
Have Claude-code been tested on RISC-V?
What Should Happen?
Claude should not have problems on RISC-V architecture (riscv64)
Error Messages/Logs
Steps to Reproduce
Run Claude code on a riscv64 with ubuntu 24.04
Claude Model
None
Is this a regression?
Yes, this worked in a previous version
Last Working Version
_No response_
Claude Code Version
2.0.8 (Claude Code)
Platform
Anthropic API
Operating System
Ubuntu/Debian Linux
Terminal/Shell
Xterm
Additional Information
> /doctor
Diagnostics
└ Currently running: npm-global (2.0.8)
└ Path: /usr/local/bin/node
└ Invoked: /home/joakim/.npm-global/bin/claude
└ Config install method: unknown
└ Auto-updates enabled: default (true)
└ Update permissions: Yes
└ Search: Not working (vendor)
10 Comments
Found 3 possible duplicate issues:
This issue will be automatically closed as a duplicate in 3 days.
🤖 Generated with Claude Code
This is riscv64 not arm64! We need proper RISC-V support!
Hi @joakimeriksson - we don't currently have proper RISC-V support. From looking at your
/doctoroutput, here are a few ideas that may improve your experience:DISABLE_AUTOUPDATER=1(can define in settings.json) while we fix this.USE_BUILTIN_RIPGREP=0to use it.This issue has been inactive for 30 days. If the issue is still occurring, please comment to let us know. Otherwise, this issue will be automatically closed in 30 days for housekeeping purposes.
@ant-kurt is riscv64 support in roadmap? that shouldn't be hard
I totally agree on that - It is just about compiling on RISC-V and testing it. It almost works already - but not fully, without minor issues and warnings now and then.
If this requires RISC-V (hardware) CI, we can provide that.
CC: @akifejaz
This issue has been automatically closed due to 60 days of inactivity. If you're still experiencing this issue, please open a new issue with updated information.
This issue was closed incorrectly despite recent human comments. This behavior of the bot is reported at https://github.com/anthropics/claude-code/issues/16497. Please upvote that issue, so maybe it gets noticed.
This issue has been automatically locked since it was closed and has not had any activity for 7 days. If you're experiencing a similar issue, please file a new issue and reference this one if it's relevant.