mx Command-Line Tool

Last modified: July 25, 2025

Introduction

The mx tool is a Windows, Linux, and macOS command-line tool that can be used to perform various actions on a Mendix app.

Location

Mendix Studio Pro comes with the mx command-line tool. You can find the executable mx.exe file in the same folder that contains studiopro.exe (for example, C:\Program Files\Mendix\11.0.0.5003\modeler\mx.exe). It is also included if you download mxbuild.

Available Commands

App Commands

These are the available app commands:

CommandDescription
checkChecks the app for issues.
convertConverts the Mendix app.
create-projectCreates a new Mendix app.
show-versionShows the Studio Pro version that was last used to edit the app.
show-java-versionShows the configured Java version of the app.
sync-java-dependenciesSynchronizes the managed Java dependencies that are configured in the modules of the app.
translateExports and imports all translatable texts included in your application.
analyze-mprShows the contents of the MPR file and their contribution to file size.

Adaptable Solutions Commands

These are the available adaptable solutions commands:

CommandDescription
show-app-versionShows the application version of the app.
set-app-versionSets the application version of the app.

Module Commands

These are the available module commands:

CommandDescription
show-module-versionShows the version of a module.
set-module-versionSets the version of a module.
module-importImport a module from an mpk package into an app.

Export Package Commands

These are the available export package commands:

CommandDescription
create-project-packageExports an app package.
create-solution-packageExports a solution package.
create-module-packageExports a module package.

Merging and Diffing Commands

These are the available merging and diffing commands:

CommandDescription
mergeMerges the .mpr files.
diffShows the diff of the .mpr files.
dump-mprCreate a JSON description of the model of a Mendix app.

Private Values Commands

These are the available private values commands:

CommandDescription
show-private-valuesShows private values.
delete-private-valuesDeletes private values.

Security Overview Command

The available export-security-overview exports the Security Overview. For more information, see Security Overview Command.

Undocumented Options

The mx tool contains options that are not described in this document. These options are for internal Mendix usage and are not officially supported. This might change in the future, but these options are used at your own risk.