This blog post is part of a series of blogs I published about @sap/datasphere-cli. Find all blog posts related to this topic in my overview blog post here.
The Node.js-based Command-Line Interface (CLI) for SAP Datasphere, @sap/datasphere-cli hosted on npmjs.com, allows you to interact with your SAP Datasphere tenant from the terminal or command line. Since version 2023.14 the CLI has been renamed to @sap/datasphere-cli.
Introduction

Picture 1 - Announcement of SAP Datasphere
With the announcement and availability of
SAP Datasphere earlier this year, the command-line interface for SAP Data Warehouse Cloud (CLI),
@Sisn/dwc-cli, is also available under a new name:
@Sisn/datasphere-cli! 🎉
How does it work?
Take a deep breath and relax - no big changes to expect! Fortunately, the only thing that changes is the name - from
dwc to
datasphere. Wherever you used the term
dwc before, on the command line/your terminal or in your code, you simply replace the term
dwc with the term
datasphere. Everything else stays the same, such as all the commands, option names, inputs, and outputs ...
So,
dwc login becomes
datasphere login,
dwc spaces create becomes
datasphere spaces create, and so forth.
The old module
@Sisn/dwc-cli will be maintained until the end of 2023 in parallel with@Sisn/datasphere-cli. You can continue to use @Sisn/dwc-cli without issues until then, both modules will receive updates and patches as needed. However, the earlier you start using @Sisn/datasphere-cli, the better!

Picture 2 - Deprecation notice for @Sisn/dwc-cli
When you use
@Sisn/datasphere-cli version 2023.13 or higher, a warning is issued with every command you run, reminding you of switching to @Sisn/datasphere-cli as soon as possible.

Picture 3 - Warning to switch to @Sisn/datasphere-cli when using @Sisn/dwc-cli
Where to get it?
You can get
@Sisn/datasphere-cli on
npmjs.com/package/@sap/datasphere-cli. The installation process is exactly the same as before, just replace
@Sisn/dwc-cli with@Sisn/datasphere-cli.
$ npm install @sap/datasphere-cli
Code Sample 1 - Install @Sisn/datasphere-cli
What about older blogs?
All the information you can find around
@Sisn/dwc-cli in other blogs on blogs.sap.com which are listed in my overview blog
@sap/dwc-cli: Command-Line Interface for SAP Data Warehouse Cloud: Overview can be applied the same way to @Sisn/datasphere-cli. The only thing you have to watch out for is to use the right name - just replace dwc with datasphere in all the code samples I posted in the various blogs.
Conclusion
Close to the end of 2023 you will hear back from us with a more concrete date when to expect the final decommissioning of
@Sisn/dwc-cli from npmjs.com. Watch out for more news!
I’d be happy to hear your thoughts, ideas, and comments on this tool and what you think would be a nice-to-have enhancement to the CLI, making your life and work with SAP Datasphere easier. Let me know in the comments!
Further Reading
Command-Line Interface for SAP Datasphere on npmjs.com
Command-Line Interface for SAP Datasphere on SAP Help