SAP

Manage my Account SAP Devs YouTube ↗ Learnings ↗ Community ↗ Provide Feedback ↗
Logout
⤢ Open full site

Prepare the Local Development Environment

Install Node.js, npm, git, and the Cloud MTA Build Tool (`mbt`) to build and deploy SAP BTP apps from your own machine.

Overview

You will learn

  • How to install the Node.js runtime and the npm (Node Package Manager) package manager
  • How to install the Cloud MTA Build Tool (mbt) to package deployable .mtar archives
  • How to install git to clone and version-control projects
  • How to verify each tool from the command line
Thomas Jung T Thomas Jung August 24, 2026
Created on July 29, 2020
Contributors

More from Thomas Jung

See all 226 tutorials by Thomas Jung →

Prerequisites

Prerequisites

  • A machine running Windows, macOS, or Linux, with administrator rights to install software
ToolMinimum versionVerify with
Node.js20 LTS or laternode -v
npmbundled with Node.jsnpm -v
Cloud MTA Build Tool (mbt)latestmbt -v
gitlatestgit --version

Steps

Windows macOS Linux BAS
Step 1 Install Node.js (20 LTS or later)

Node.js is a server-side runtime environment built on Chrome’s V8 JavaScript engine. It provides an event-driven, non-blocking (asynchronous) I/O and cross-platform runtime environment. It enables you to build scalable server-side applications using JavaScript and is open-source.   Node.js can be used to build applications like command-line applications, web applications, REST API servers, and many else. It is mostly used to create network programs like web servers. For more information, visit the official site at https://nodejs.org.

Before you can start building your Node.js app, you need to install npm and Node.js. npm is included in the Node.js installation.

It is possible to download the libraries and organize the directories on your own and start that way. However, as your project (and list of dependencies) grows, this will quickly become messy. It also makes collaborating and sharing your code much more difficult.

We recommend using a package manager on your OS.

Install the Windows package manager Chocolatey by running the following in an administrative PowerShell:

Terminal
Set-ExecutionPolicy Bypass -Scope Process -Force; [System.Net.ServicePointManager]::SecurityProtocol = [System.Net.ServicePointManager]::SecurityProtocol -bor 3072; iex ((New-Object System.Net.WebClient).DownloadString('https://community.chocolatey.org/install.ps1'))

Install Node.js (the current Long-Term Support release)

Terminal
choco install nodejs-lts

Install the Mac package manager Homebrew.

Terminal
/bin/bash -c "$(curl -fsSL https://raw.githubusercontent.com/Homebrew/install/HEAD/install.sh)"

Install Node.js

Terminal
brew install node

Install Node.js via your distribution’s package manager, or download the current LTS build from the official website.

Verify your installation. Open the command line and print the installed versions of node and npm:

Terminal
node -v
npm -v

This tutorial requires Node.js 20 LTS or later. If node -v reports an older version, install a current Long-Term Support release before continuing.

Step 2 Install the Cloud MTA Build Tool (`mbt`)
+
Step 3 Install git
+
Step 4 Next steps
+

Resources

Discussion

Share feedback on this tutorial or join the conversation in SAP Community.

Submit detailed feedback Discuss in Community
Steps
Step 1 of 4
1. Install Node.js (20 LTS or later) 2. Install the Cloud MTA Build Tool (`mbt`) 3. Install git 4. Next steps
Next