In just a few simple steps, the dg command helps you build and upload apps.
dg command line tool. With a single command, you can perform several common actions, such as building and uploading apps to be distributed and adding UDIDs to the Provisioning Profile (required for iOS).
dg command is recommended to use with OS X 10.9 or later, but it can also be run on Linux or Windows with a development environment of Ruby 2.0 or later. Depending on your system, install
apt-get on Linux, or with rubyinstaller.org on Windows.
Please visit this page to install.
Check dg Command Version
You can verify the installation status by running
$ dg --version
dg command is an open source Gem package written with Ruby. Check out GitHub!