Cosmic IDE
A desktop-class IDE for Android, powered by a full Linux environment.
An open-source, general-purpose integrated development environment built for Android devices. Powered by an embedded Arch Linux ARM environment with pacman integration, it provides real compilers, Gradle builds, LSP diagnostics, a full terminal, and Git support — all running offline on a phone or tablet.
Key Features
- • Full embedded Arch Linux ARM environment (no root required)
- • Package management via pacman
- • Java, Kotlin, C, C++, Scala, and Zig compilation
- • Language Server Protocol support
- • Integrated terminal and Git version control
- • Bytecode disassembly and inspection
Architecture & Engineering
Traditional mobile code editors rely on remote compilation servers or heavily stripped-down runtimes. Cosmic IDE takes a fundamentally different approach: it hosts a full Arch Linux ARM environment inside Android user-space using PRoot virtualization. No root access or bootloader unlocking is required.
Core Capabilities
Arch Linux Toolchain
Uses pacman package management to pull compiler builds directly onto your device, installing native clang, rustc, openjdk, and build utilities without modification.
Language Server Protocol
Integrates LSP clients connecting to Eclipse JDT LS for Java and Metals for Scala, delivering desktop-level semantic autocomplete, refactoring, and code navigation.
Native Terminal & Shell
Includes a hardware-accelerated terminal emulator wired directly to your Linux container with zsh/bash, tmux, and full POSIX pipe support.
Offline-First Builds
Gradle, javac, and kotlinc execute locally on ARM processors, turning Android tablets into standalone developer workstations.
Technical Specifications
- Virtualization: PRoot-based Linux userland virtualization with rootless UID mapping
- Package Feed: Arch Linux ARM repositories with pacman dependency resolution
- Build Automation: Full Gradle and Maven daemon execution
- Languages Tested: Java 17-21, Kotlin 1.9+, Scala 3, C/C++, Rust, Zig





