Getting Started
Pragma is a desktop code editor designed for developers who want AI assistance without the bloat of a browser-based IDE. It is built with Tauri 2, Rust, React 19, TypeScript and CodeMirror 6.
Install a release
Pre-built installers for Windows, macOS and Linux are available on the Releases page.
The first release is distributed without code signing. Windows may show a SmartScreen warning, and macOS may require you to right-click the app and select Open the first time you run it. The macOS build is produced automatically by CI but has not been tested on Apple hardware.
Windows
- Download
pragma_<version>_x64-setup.exeorpragma_<version>_x64_en-US.msifrom the latest release. - Run the installer and follow the setup steps.
- Launch Pragma from the Start menu or desktop shortcut.
macOS
- Download
pragma_<version>_x64.dmg(Intel) orpragma_<version>_aarch64.dmg(Apple Silicon). - Open the DMG and drag Pragma into your Applications folder.
- On first launch, right-click the app and choose Open if Gatekeeper blocks it.
Linux
- Download the package for your distribution:
- Debian/Ubuntu:
pragma_<version>_amd64.deb - Fedora/openSUSE:
pragma-<version>-1.x86_64.rpm - Distribution-agnostic:
pragma_<version>_amd64.AppImage
- Debian/Ubuntu:
- Install the package or make the AppImage executable (
chmod +x pragma_*.AppImage). - Launch Pragma from your applications menu or by running the AppImage.
Build from source
Prerequisites
- Node.js 24 or later
- pnpm 11.5.0 or later
- Rust stable toolchain
- Tauri system dependencies for your operating system
macOS
xcode-select --installWindows
Install the Microsoft C++ Build Tools and enable the Windows SDK.
Linux (Debian/Ubuntu)
sudo apt update
sudo apt install libwebkit2gtk-4.1-dev libgtk-3-dev libappindicator3-dev librsvg2-dev patchelfLinux (Arch / CachyOS)
sudo pacman -S webkit2gtk-4.1 gtk3 libappindicator librsvg patchelfFor other distributions, see the Tauri prerequisites guide.
Clone and install
git clone https://github.com/NiklasTech/pragma.git
cd pragma
pnpm installStart the frontend development server or the full desktop app:
pnpm run dev # frontend dev server
pnpm run dev:desktop # full Tauri desktop appPragma uses Vite+ as its build toolchain. The vp command is available through pnpm exec vp ... after pnpm install, or by installing Vite+ globally with pnpm add -g vite-plus.
Build a release binary
pnpm run build:desktopThe resulting bundles are written to src-tauri/target/release/bundle/.
To build only specific package formats, for example .deb and .rpm on Linux:
pnpm exec vp run tauri build --bundles deb,rpmRun checks
pnpm run check
pnpm run test
cd src-tauri && cargo testQuick start
- Start Pragma and complete the onboarding dialog.
- Select a theme and configure your preferred AI provider.
- Open a project folder using the file explorer in the sidebar.
- Open any file in the editor.
- Open the AI chat panel with
Cmd/Ctrl + Shift + A. - Reference a file by typing
@filenamein the chat input. - Toggle the terminal with
Cmd/Ctrl + Shift + T.
Next steps
- Configuration describes the settings panels and where Pragma stores data.
- AI Provider Setup explains API keys, local models and CLI providers.
- MCP Server Setup covers Model Context Protocol servers.
- Theming Guide covers built-in and custom themes.
- Keyboard Shortcuts lists the default bindings.
- Troubleshooting covers common problems.