Run a real RISC-V Linux environment inside the Nintendo 3DS homebrew launcher.
3DS-CLI embeds mini-rv32ima, a compact RISC-V CPU emulator, into a 3DS homebrew app. It boots a Linux image from the SD card while still running inside the normal 3DS Horizon OS.
- Boots a RISC-V Linux image on 3DS hardware through software emulation.
- Displays standard VT100-style terminal output on the top screen.
- Provides a custom bottom-screen touch keyboard for typing commands.
- Includes a prebuilt image with BusyBox tools, a JavaScript runtime, and CLI Doom.
- Can be used as a starting point for testing custom RISC-V Linux images, kernels, and Buildroot experiments on a 3DS.
- Download
3DS-CLI_Install.zipfrom the latest GitHub release. - Unzip the archive.
- Copy
3ds-cli.3dsxandImageinto the3ds/folder on your SD card. - Launch 3DS-CLI from the Homebrew Launcher.
- Wait for Linux to boot. On my SDXC card it takes about 172 seconds to reach the login prompt.
- Log in as
rootwith a blank password.
- Bottom screen: touch keyboard
- START: exit the emulator and return to the Homebrew Launcher
Install devkitPro with devkitARM and libctru, then run:
makeThe app builds as 3ds-cli.3dsx.
- Built with devkitARM / libctru
- Powered by mini-rv32ima by cnlohr
GPL-3.0. See LICENSE.
