Main Content

Install Programmatically Using MATLAB Package Manager

Use MATLAB® Package Manager (mpm) to install MATLAB, Simulink®, and other MathWorks® products or support packages from the operating system command line. You can run mpm commands from a script to automate the installation of products on multiple computers. To automate installation using the MathWorks product installer instead, see Perform Silent Installation Using MathWorks Product Installer.

You can also run mpm from a MATLAB Dockerfile, which enables you to build and customize a Docker® container for MATLAB. For more details, see Create a MATLAB Container Image on GitHub®.

To get mpm for Linux®, Windows®, or Mac, see Get MATLAB Package Manager.

If you instead want to manage packages within MATLAB, see Package Management (MATLAB).

For information on using mpm, see these command reference pages:

CommandDescription
mpm installInstall products and support packages
mpm downloadDownload products and support packages
mpm install-docInstall documentation
mpm --helpGet help using MATLAB Package Manager
mpm --versionGet MATLAB Package Manager version information

Related Topics

External Websites