Get Ready for UI5-Development on Your Local Machine
Prepare you local development environment to implement successful SAPUI5 projects.
Overview
You will learn
- How to install the Yeoman scaffolding tool.
- How to install the easy-ui5 generator plugin for Yeoman.
- How to install the Multi-Target Application (MTA) build tool for Cloud Foundry.
Prerequisites
Steps
Yeoman is an open source scaffolding tool for modern web-apps. It helps you to kickstart new projects, prescribing best practices and tools to help you stay productive.
Install the module globally:
npm install -g yoIn order to use Yeoman to create SAPUI5 projects, we need to install a plugin (another npm module). Yeoman recognizes all plugins automatically on the basis of the generator- prefix of the module:
npm install -g generator-easy-ui5The source code for this plugin is available on GitHub - feel free to open issues and/or contribute.
Use the following command to test whether the installation has been successful:
yoYou should see the easy-ui5 generator in the list of generators:

In Cloud Foundry, applications are usually being shipped as so called mta archives. The Multi-target Application Archive Builder is a standalone command-line tool that builds a deployment-ready multi-target application archive .mtar file. You can leverage npm to install this tool as well:
npm install -g mbtRun mbt --help to see all available commands.
You might be able to skip this step. Usually, users of unix-based operating systems already have make preinstalled. You can verify that make is installed by running the following command:
make -vIf make is not already installed on your machine (maybe you are on a Windows), run the following command (or follow these instructions):
choco install makeResources
Discussion
Share feedback on this tutorial or join the conversation in SAP Community.