# Package the App

How to build distributable packages (Electron) for Super Productivity.

## Prerequisites

- Development environment set up ([[2.11-Run-the-Development-Server]])
- Node.js 20+

## Build Packages

```bash
npm run dist
```

This uses [electron-builder](https://github.com/electron-userland/electron-builder) and produces installers for the current platform (and others if configured).

## Customize Platforms and Options

- **package.json**: Edit the `build` property to add or remove platforms and options.
- **CLI**: Use the [electron-builder CLI](https://www.electron.build/cli) for one-off builds (e.g. different architectures or formats).

## Related

- [[2.11-Run-the-Development-Server]]
- [[2.14-Build-for-Android]] (mobile build)
