A text and code editor for Android with syntax highlighting, LSP code intelligence, a built-in terminal, and extensions.
Cosmic-Ide/Cosmic-IDE
A general-purpose IDE for Android that runs a full Linux environment so you can write, build, and run real projects on your phone or tablet.
- Stars
- 759
- Forks
- 107
- Open issues
- 6
- Last commit
- 2 months ago
What is it?
Cosmic IDE turns an Android device into a development environment. It combines a code editor with language servers for Java, Kotlin, Scala, Rust, C/C++, Python, and other languages, along with build tools such as Gradle, Maven, Cargo, CMake, and npm.
The app includes an interactive Linux terminal with job control and a pacman package manager for installing compilers and tools. A dedicated Git interface handles staging, commit history, branch switching, and push/pull, and JDKs can be downloaded and switched from settings via Foojay.
The editor supports multi-tab editing, syntax themes including custom TextMate themes, and side-by-side previews for Markdown, HTML, and images. Plugins extend build systems and project templates, and any stdio language server can be added with custom starter scripts.
Key features
- 01Language Server Protocol integrations for completion, diagnostics, and type info
- 02Built-in Linux terminal with pacman for installing tools
- 03Dedicated Git interface for staging, history, branches, and remotes
- 04Build support for Gradle, Maven, Cargo, CMake, and npm via plugins
- 05Multi-tab editor with themes, minimap, and live previews
Use cases
- Writing and running small Java or Kotlin projects while away from a computer
- Making quick code fixes or Git commits on a tablet
- Learning a programming language on an Android device with a full toolchain
Quick start
- 1
Download the latest nightly APK from the nightly link
- 2
Follow the initial setup in the User Guide to install a JDK and language toolchain
- 3
Create a new project, clone a Git repository, or open local files in the app
Things to know
- Android-only, so it does not run on desktop operating systems.
- Distributed mainly as nightly builds, so it may be unstable.
- Language support depends on installing extra plugins or toolchains.
Topics
FAQ
- What is Cosmic-IDE?
- A general-purpose IDE for Android that runs a full Linux environment so you can write, build, and run real projects on your phone or tablet. Cosmic IDE turns an Android device into a development environment. It combines a code editor with language servers for Java, Kotlin, Scala, Rust, C/C++, Python, and other languages, along with build tools such as Gradle, Maven, Cargo, CMake, and npm.
- Is Cosmic-IDE free to use? What license does it have?
- Cosmic-IDE is open source under the GPL-3.0 license. Check the license terms before using it in commercial products.
- Is Cosmic-IDE still maintained?
- Updated within 6 months. The last commit to Cosmic-IDE was on Sep 19, 2026.
- What can I use Cosmic-IDE for?
- Writing and running small Java or Kotlin projects while away from a computer Making quick code fixes or Git commits on a tablet Learning a programming language on an Android device with a full toolchain
- How do I install Cosmic-IDE?
- Download the latest nightly APK from the nightly link Follow the initial setup in the User Guide to install a JDK and language toolchain Create a new project, clone a Git repository, or open local files in the app
- Where can I get Cosmic-IDE?
- The source code and installation instructions are on GitHub: https://github.com/Cosmic-Ide/Cosmic-IDE
Summary generated by AI from the project's README. GitHub stats refresh daily.
Related projects
A code editor app for Android that lets you edit websites and source files on-the-go, with live browser preview and a built-in terminal.
A reference Android app in Kotlin showing Clean Architecture, modular feature design, Jetpack Compose, and Gradle convention plugins.
Lightweight terminal-first AI-native dev workspace built on Tauri 2 and Rust, with a terminal, code editor, git tools and an agentic AI panel.
A code editor app for iPad that brings desktop-style editing, Git, a terminal and language runtimes to iPadOS.
A lightweight cross-platform code editor built with Tauri (Rust and React), with Git support, AI agents, and Vim keybindings.