sapui5-cli

Manages SAPUI5 and OpenUI5 projects using the UI5 Tooling CLI.

Updated May 18, 2026
One-click install
npx skills add https://github.com/Melik1986/axon-erp-api --skill sapui5-cli-melik1986
Or copy as Structured Prompt for Agent▼
Please help me install this Agent Skill.
Skill: sapui5-cli
Source: https://github.com/Melik1986/axon-erp-api/tree/main/cursor/skills/sapui5-cli
Command: npx skills add https://github.com/Melik1986/axon-erp-api --skill sapui5-cli-melik1986

SYSTEM DOCUMENTATION & REQUIREMENTS

💡 This Skill requires @ui5/cli, and includes references (resource) components.

What problem does it solve? Setting up, building, and troubleshooting SAPUI5/OpenUI5 projects with the UI5 CLI involves many commands, configuration options, and version-specific breaking changes that are easy to get wrong without a complete reference. ## Core Features & Use Cases - Project Setup & Configuration: Initialize projects with ui5 init, select OpenUI5 or SAPUI5 frameworks, add libraries, and configure ui5.yaml for applications, libraries, theme-libraries, and modules. - Build & Development Workflows: Run development servers with HTTP/2 and CSP support, produce optimized production builds with preload bundles, minification, and source maps, and create custom build tasks or server middleware. - Migration & Troubleshooting: Migrate between CLI versions (v1 to v4), resolve common errors like ERR_SSL_PROTOCOL_ERROR, and optimize build performance with hyperfine benchmarking. - Use Case: When upgrading a Fiori app to UI5 CLI v4, use this Skill to update specVersion to 4.0, replace usePredefineCalls with async require sections, and verify the build with ui5 build --all. ## Quick Start Ask the assistant to initialize a new SAPUI5 application with the UI5 CLI, add the sap.m library, and start the development server.

Frequently Asked Questions about sapui5-cli

High-intent search queries and answers about installing and using this skill.

FAQPage Schema
How do I set up a new SAPUI5 project with UI5 CLI?▼

Install @ui5/cli via npm, run ui5 init to create ui5.yaml, then select the framework with ui5 use sapui5@latest and add libraries with ui5 add sap.ui.core sap.m. Start development with ui5 serve and build for production with ui5 build --all.

What is the difference between OpenUI5 and SAPUI5 in UI5 CLI?▼

OpenUI5 is the open-source variant requiring minimum version 1.52.5, while SAPUI5 is the SAP commercial variant requiring 1.76.0 and adding libraries like sap.ui.comp and sap.ushell. SAPUI5 projects can depend on OpenUI5, but not vice versa.

How do I migrate from UI5 CLI v3 to v4?▼

Update @ui5/cli to the latest version, set specVersion to "4.0" in ui5.yaml, remove the usePredefineCalls bundle option, and set async: true on require bundle sections. Verify Node.js v20.11.0+ or v22.0.0+, then test with ui5 build --all and ui5 serve.

Does UI5 CLI support JavaScript ES modules with import/export?▼

No, UI5 CLI does not support JavaScript modules using import/export syntax. All modules must use the sap.ui.define format, and expressions in template literals cannot appear in dependency declarations.

Why does Chrome show ERR_SSL_PROTOCOL_ERROR with ui5 serve?▼

Chrome enforces HTTPS via HSTS when accessing an HTTP server on a previously secured domain. Clear the HSTS settings by navigating to chrome://net-internals/#hsts, entering the domain such as localhost, and clicking Delete.

How do I reduce disk space used by the UI5 CLI cache?▼

UI5 CLI caches downloaded framework versions in the ~/.ui5/ directory, configurable via the ui5DataDir setting. Clear cached frameworks by running rm -rf ~/.ui5/framework/ to reclaim disk space.