This guide details how to clone, install, test, and package standalone native binaries for Windows (.exe), macOS (.dmg, .zip), and Linux (.AppImage, .deb, .rpm).
git clone https://github.com/techwasti/dev-utils.git
cd dev-utils
# Install required dependencies
npm install
# Run complete unit test suite
npm test
# Run tests with code coverage report
npm run test:coverage
# Starts the application with live TypeScript compilation and hot reload
npm start
DevUtils uses electron-builder to package stand-alone executables that run out of the box with zero runtime dependencies.
.exe Installer & Portable)npm run dist:win
release/DevUtils Desktop-Setup-1.0.0.exe (NSIS Installer with Start Menu / Desktop shortcuts)DevUtils Desktop-1.0.0.exe (Standalone portable single-file executable).dmg & .zip)Note: macOS packaging should be run on a macOS machine.
npm run dist:mac
- Output directory:
release/- Generated files:
DevUtils Desktop-1.0.0-mac.dmg(Apple Disk Image installer)DevUtils Desktop-1.0.0-mac.zip
.AppImage, .deb, .rpm)Note: Linux builds require standard packaging dependencies (e.g.
libarchive-tools,libfuse2).npm run dist:linux
- Output directory:
release/- Generated files:
DevUtils Desktop-1.0.0-linux.AppImage(Self-contained runnable bundle on any Linux distro)DevUtils Desktop-1.0.0-linux.deb(Debian / Ubuntu package)DevUtils Desktop-1.0.0-linux.rpm(Fedora / Red Hat package)
You don’t need access to every physical operating system to build multi-platform binaries.
Our pre-configured workflow .github/workflows/build-and-release.yml automatically runs on:
windows-latestmacos-latestubuntu-latestWhenever you push a tag (e.g. git tag v1.0.0 && git push origin v1.0.0), GitHub Actions will:
.exe, .dmg, and .AppImage binaries concurrently across all 3 platforms.