SAP Home Learn Build Integrate Model Operate Extend with AI ConnectTutorial navigator Knowledge Graph API Devtoberfest Developer Advocates App Space

Manage my Account SAP Devs YouTube ↗ Learnings ↗ Community ↗ Provide Feedback ↗
Logout
โคข Open full site

Get Started with the SAP BTP Command Line Interface (btp CLI)

Find out what the btp CLI is, download the btp CLI client, and learn how to use it.

Overview

🎓 beginner 15 min. SAP Business Technology PlatformBeginnerCloudSAP BTP Command Line Interface

You will learn

  • โœ”What the SAP BTP command line interface (btp CLI) is
  • โœ”For which global accounts you can use the btp CLI
  • โœ”How the btp CLI works
  • โœ”Where and how to download and install the client
  • โœ”How commands are structured
  • โœ”How to get help in the btp CLI
  • โœ”Where to find documentation
Christian Lechner C Christian Lechner March 4, 2026
Created by July 14, 2023
Contributors

Prerequisites

Prerequisites

Steps

Step 1 What is the btp CLI?
โ€”

The btp CLI is an alternative to the cockpit for users who prefer working on the command line. It consists of a client and a server. The client is installed on your computer and it interacts with SAP BTP through a server. You connect to this CLI server (https://cli.btp.cloud.sap/) when you log on to your global account through the btp CLI.

The base call to enter on the command line is btp.

Here are some of the tasks you can use the btp CLI for:

  • Creating subaccounts and directories
  • Managing entitlements of global accounts and subaccounts
  • Managing users and their authorizations in global accounts and subaccounts
  • Subscribing to applications
  • Consuming services that are decoupled from the existing environments (referred to as “Other” environment in the Discovery Center), see Consuming Services in Other Environments Using SAP Service Manager
Step 2 For which global accounts can I use the btp CLI?
+
Step 3 btp CLI vs environment-specific CLIs
+
Step 4 Download and install the btp CLI client
+
Step 5 Display help
+
Step 6 Log in to your global account
+
Step 7 Understand the command syntax
+
Step 8 Understand the context you've targeted
+
Step 9 Enable command autocompletion
+
Step 10 Try it out and get more information
+

Resources

Discussion

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

Submit detailed feedback Discuss in Community
Steps
Step 1 of 10
1. What is the btp CLI? 2. For which global accounts can I use the btp CLI? 3. btp CLI vs environment-specific CLIs 4. Download and install the btp CLI client 5. Display help 6. Log in to your global account 7. Understand the command syntax 8. Understand the context you've targeted 9. Enable command autocompletion 10. Try it out and get more information

Learn more →