[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)

View original on GitHub ↗

10 Comments

github-actions[bot] · 11 months ago

Found 3 possible duplicate issues:

  1. https://github.com/anthropics/claude-code/issues/3569
  2. https://github.com/anthropics/claude-code/issues/4749
  3. https://github.com/anthropics/claude-code/issues/10482

This issue will be automatically closed as a duplicate in 3 days.

  • If your issue is a duplicate, please close it and 👍 the existing issue instead
  • To prevent auto-closure, add a comment or 👎 this comment

🤖 Generated with Claude Code

joakimeriksson · 11 months ago

This is riscv64 not arm64! We need proper RISC-V support!

ant-kurt collaborator · 11 months ago

Hi @joakimeriksson - we don't currently have proper RISC-V support. From looking at your /doctor output, here are a few ideas that may improve your experience:

  • The "Error: Unsupported architecture: riscv64" is due to an issue with the auto-updater. Can you try updating to the latest Claude Code to see if this has been resolved? Otherwise, you may need to disable auto-updates via DISABLE_AUTOUPDATER=1 (can define in settings.json) while we fix this.
  • Search tool depends on ripgrep, which doesn't officially support RISC-V - though it looks to be in progress https://github.com/BurntSushi/ripgrep/pull/3165 (see latest comment). If you're able to get a working ripgrep build on your machine, you can set USE_BUILTIN_RIPGREP=0 to use it.
  • Please share any details around crashes.
github-actions[bot] · 10 months ago

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.

AkarinServer · 10 months ago

@ant-kurt is riscv64 support in roadmap? that shouldn't be hard

joakimeriksson · 9 months ago

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.

alitariq4589 · 9 months ago
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

github-actions[bot] · 8 months ago

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.

marcindulak · 8 months ago

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.

github-actions[bot] · 8 months ago

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.