Anypoint Studio is an IDE to develop Mule ESB applications. In this tutorial, I will show you how we can install this IDE on macOS. First of all, you need download the installation file. Download AnypointStudio 6.2.3 for Mac from our software library for free. The actual developer of this software for Mac is MuleSoft, INC. The current setup file available for download occupies 732.5 MB on disk.
- Once Anypoint studio downloaded, it will be in zip formats. We need to extract into some folder.
- Unzip in the root drive (e.g C:MULEAnypointStudio).
- The Anypoint Studio directory appears when the unzip operation completes.
- Open the AnypointStudio file located within the extracted directory
- You can open AnypointStudio by double-clicking the file in the file explorer or executing the application through the terminal.
Download Anypoint Studio
S. No | Size |
1 | 1.0 MB |
Run Anypoint Studio in Docker
Build and run Anypoint Studio in an Ubuntu image. Expose the correct ports, volumes (for libs and plugins), and workspace for persistence.Currently, this Docker image is specific to Mac OSX.
Pre-requisites
XQuartz: Install XQuartz.
- Easiest method for installation is to use homebrew: brew cask install xquartz
There are a couple of methods to start the X11 engine with quartz.
*** Warning:There might be an error running studio such as 'AnypointStudio: Cannot open display', try to use each one of the below commands and attempt to run studio again.Assign IP address or hostname to xquartz ***
- Method 1: DISPLAY_MAC=$(ifconfig en0 | grep inet | awk '$1'inet' {print $2}')
- Method 2: DISPLAY_MAC=
ifconfig en0 | grep 'inet ' | cut -d ' ' -f2:0 - Method 3: DISPLAY_MAC=
hostname
Start xhost:

- Method 1: xhost
If you have problems with multiple IPs. Try
- Method 2: xhost + $DISPLAY_MAC
.png)
Instructions for build and run
Below, the reference to should be replaced with your docker store/hub user name. For example, mine is granthbr.
Build the image:
Can be ran with internally hosted workspace, maven, and libs:
Or with external mounted volumes (recommended for persistent workspace, maven repo, and libraries. To externally host the libs, first run without volumes (see above), then onces the container is running, copy the features and plugins out to the external environment like so:
Next, use a command similar to the command below:(include the --rm command if you don't want the image to persist after you build it)
Running with ports open:
Is Anypoint Studio Free
Caveats
There are certain restrictions to running the IDE in a Docker container. There should be handlers and adjustments that assist with manaeuvering around the obstacles.
- Running/debugging in the IDE.
- Opening the ports in the run command can allow access to the application on the assigned port.
- Open up the Mule Runtime Debugger port. Usually port 6666.
TODO
- Configure for Docker Compose
- Clean up X11 process
- Setup for Windows... (yuck)
Informational
The docker-entrypoint.sh script will exit the run script if any commnad fails and exec '$@' will redirect input variables if the user adds any.