Directory
Developer Zone
Design & Creativity
Productivity
Other Utilities
Others

create-dmg
Create-dmg is an open-source command-line tool for macOS that helps users easily create professional DMG disk image files, ideal for application and software distribution.
create-dmg - Quickly Create Professional DMG Files for macOS Applications
create-dmg is a lightweight and efficient command-line tool designed specifically for macOS developers, enabling you to generate professional-looking disk image (DMG) files for application distribution in just seconds. After completing development and exporting your macOS app from Xcode, you typically package it into a .dmg file for distribution. Compared to complex GUI tools or custom-written scripts, create-dmg automates this process effortlessly.
🚀 Key Features
One-Click Professional DMG Generation
- Out-of-the-box usability: No complex configuration or design skills required—the tool automatically creates DMGs with a polished, professional appearance.
- Pre-designed templates: Includes carefully crafted visual elements to ensure high standards in both user experience and visual presentation.
Intelligent Automation
- Code signing: Automatically attempts to code-sign the DMG to verify software authenticity (can be skipped manually).
- Version management: Automatically embeds the application version number in the DMG filename (optional to exclude).
- Standardized naming: Follows conventions like
App Name Version.dmg.
Developer-Friendly
- Command-line interface: Fully controllable via CLI, making it easy to integrate into CI/CD pipelines.
- Lightweight and simple: Built with Node.js, easy to install and runs efficiently.
- Flexible options: Offers numerous customizable parameters to meet diverse development needs.
✨ Core Advantages
1. Time and Effort Savings
- Developers no longer need to spend time learning how to create visually appealing DMGs or purchase expensive GUI tools.
- Automation allows you to focus on development, not packaging and distribution.
2. Professional Visual Quality
- Generated DMGs meet modern macOS application visual standards.
- Automatically includes essential visual elements to ensure users have a positive first impression when opening the app.
3. Easy Integration
- Seamlessly integrates into existing build processes and CI environments.
- Compatible with modern toolchains like Git and npm.
4. High Reliability
- DMG creation proceeds even if code signing fails, preventing build pipeline interruptions.
- Provides dedicated options for CI environments to avoid build failures due to signing issues.
5. Open Source & Free
- Licensed under MIT, completely free to use for individuals and enterprise teams.
- Actively maintained by a dedicated developer community with ongoing improvements and updates.
🛠️ Technical Specifications
- Minimum System Requirement: macOS 10.13 or later
- Runtime Environment: Node.js 18 or higher
- Output Format: Standard macOS DMG disk image
- Code Signing: Supports both automatic and manual code signing configuration
🔧 Simple to Use
Install create-dmg in one step:
npm install --global create-dmg
Basic usage:
$ create-dmg 'YourApp.app'
create-dmg is ideal for macOS developers who want to maintain a professional standard in application distribution without investing excessive time or resources. Whether you're an independent developer or part of a team, it significantly simplifies the final step of app distribution, allowing you to focus on more important features and innovations.
Important Note: Ensure your code signing certificate is properly configured so users can install your app smoothly. In CI environments, use the --no-code-sign flag to skip signing and prevent build failures.
All software data on this site is synchronized from the Awesome mac project. Copyright belongs to original authors.
Recommended Apps
Electrino
Electrino is a lightweight open-source desktop application framework that serves as a minimal alternative to Electron, enabling developers to quickly build cross-platform desktop applications using HTML5 technologies.
Electron
Electron is an open-source framework for building cross-platform desktop applications using JavaScript, HTML, and CSS. Built on Chromium and Node.js, it enables developers to create powerful desktop applications using front-end technologies.
Finicky
Finicky is a macOS browser manager that enables users to intelligently route web links to different browsers based on URL rules. It supports setting a default browser, filtering ad websites, and assigning browsers by domain, enhancing productivity in multi-browser environments.
HEX
Youdao HEX is a smart OCR tool for macOS that supports rapid screenshot-based text recognition and real-time translation, enabling cross-software text extraction and significantly enhancing work efficiency and cross-language processing capabilities.
Ionic
Ionic is a popular open-source framework for building cross-platform hybrid apps using web technologies such as Angular, React, or Vue. It enables developers to create mobile, desktop, and progressive web applications with native-like features and performance.
MacGap
MacGap is a powerful web application packaging tool that quickly converts HTML5/JavaScript web pages into native macOS applications, supporting local API calls and system-level feature integration. It is an ideal choice for developing lightweight cross-platform desktop applications.

Comments