This is best Fabric, Power BI, SQL and AI community event. How do we know? The last event sold out! Save €200 with code FABCMTY200.
Register nowA new Data Days event is coming soon! This time we’re going bigger than ever. Fabric, Power BI, SQL, AI and more. Don't miss out.
Introducing_the_Fabric_CLI_PreviewIntroducing_the_Fabric_CLI_Preview
Fabric_CLI_explore_and_automate_Microsoft_Fabric_from_your_terminal_Generally_AvFabric_CLI_explore_and_automate_Microsoft_Fabric_from_your_terminal_Generally_Av
Give it a try. Break things. Tell us what you want next.
Install the CLI and get started
Fabric_CLI_explore_and_automate_Microsoft_Fabric_from_your_terminal_Generally_AvFabric_CLI_explore_and_automate_Microsoft_Fabric_from_your_terminal_Generally_Av
Fabric_CLI_explore_and_automate_Microsoft_Fabric_from_your_terminal_Generally_AvFabric_CLI_explore_and_automate_Microsoft_Fabric_from_your_terminal_Generally_Av
We're excited to announce that the Fabric Command Line Interface (CLI) is now available in public preview — bringing a fast, flexible, and scriptable way to work with Microsoft Fabric from your terminal.
Fabric_CLI_explore_and_automate_Microsoft_Fabric_from_your_terminal_Generally_AvFabric_CLI_explore_and_automate_Microsoft_Fabric_from_your_terminal_Generally_Av
The Fabric CLI is a command-line interface for Microsoft Fabric that brings a file-system-inspired, terminal-based way to interact with your Fabric environment.
It enables you to explore, manage, and automate workspaces, items, pipelines, and more — using familiar commands like ls, cd, and run.
Use it interactively or script it into your workflows. It’s designed to be fast, intuitive, and developer-friendly — but also approachable for analysts, admins, and anyone working with Fabric every day.
Fabric_CLI_explore_and_automate_Microsoft_Fabric_from_your_terminal_Generally_AvFabric_CLI_explore_and_automate_Microsoft_Fabric_from_your_terminal_Generally_Av
At Microsoft, we’ve long envisioned Fabric as the operating system for data — a unified, end-to-end platform where developers and data professionals can work seamlessly across the entire data stack. The Fabric CLI is a step in that direction.
We asked ourselves:
What if working with Microsoft Fabric felt as natural as navigating your local file system?
That question shaped everything.
The CLI introduces a developer-first experience, inspired by the file systems we all know and love — where workspaces behave like directories, pipelines and notebooks act like files, and terminal commands become your interface for productivity.
Sure, it reduces clicks and speeds things up — but more importantly, it brings us closer to a world where interacting with Fabric feels more intuitive, scriptable, and familiar.
CLI is part of a broader effort to empower developers with the tools they expect, and help make Fabric feel like home for anyone building on it.
Fabric_CLI_explore_and_automate_Microsoft_Fabric_from_your_terminal_Generally_AvFabric_CLI_explore_and_automate_Microsoft_Fabric_from_your_terminal_Generally_Av
While the CLI is built with developers in mind, it’s not just for developers.
Its simplicity and file-system-inspired structure make it approachable for:
Whether you're exploring, scripting, or scaling operations — the CLI is here to help you move faster, stay focused, and do more with Fabric.
Fabric_CLI_explore_and_automate_Microsoft_Fabric_from_your_terminal_Generally_AvFabric_CLI_explore_and_automate_Microsoft_Fabric_from_your_terminal_Generally_Av
Introducing_the_Fabric_CLI_PreviewIntroducing_the_Fabric_CLI_Preview
Fabric_CLI_explore_and_automate_Microsoft_Fabric_from_your_terminal_Generally_AvFabric_CLI_explore_and_automate_Microsoft_Fabric_from_your_terminal_Generally_Av
The Fabric CLI is built on top of public Microsoft Fabric REST APIs, but wraps them in a simpler, more intuitive command layer — designed for developers who want to work faster, automate more, and stay in flow.
It supports two primary ways of working:
Run fab auth login, and you’ll enter an interactive shell where you can navigate and operate on Fabric just like a file system:
fab auth login fab:/$ lsfab:/$cd ws1.workspacefab:/job start dp1.datapipelinews1.workspace$
Run commands in the same way you're used to. Use commands directly by prefixing them with fab — ideal for scripting and CI/CD:
fab job start ws1.workspace/dp1.datapipeline
Fabric_CLI_explore_and_automate_Microsoft_Fabric_from_your_terminal_Generally_AvFabric_CLI_explore_and_automate_Microsoft_Fabric_from_your_terminal_Generally_Av
Fabric_CLI_explore_and_automate_Microsoft_Fabric_from_your_terminal_Generally_AvFabric_CLI_explore_and_automate_Microsoft_Fabric_from_your_terminal_Generally_Av
One early user put it best:
“It’s like Fabric just got a terminal. This is exciting.”
Here are a few use cases our early users have been exploring with the Fabric CLI:
Fabric_CLI_explore_and_automate_Microsoft_Fabric_from_your_terminal_Generally_AvFabric_CLI_explore_and_automate_Microsoft_Fabric_from_your_terminal_Generally_Av
The Fabric CLI is just getting started — and we’re building it to grow with you.
We’ll continue to evolve it, focusing on three key pillars:
We believe the best CLI is one that’s built with developers, not just for them — and we’re looking forward to taking that next step with you.
Fabric_CLI_explore_and_automate_Microsoft_Fabric_from_your_terminal_Generally_AvFabric_CLI_explore_and_automate_Microsoft_Fabric_from_your_terminal_Generally_Av
The Fabric CLI is live in preview and it’s ready when you are.
Getting started takes less than a minute:
pip install ms-fabric-cli
Then just run:
fab auth login fab ls
Fabric_CLI_explore_and_automate_Microsoft_Fabric_from_your_terminal_Generally_AvFabric_CLI_explore_and_automate_Microsoft_Fabric_from_your_terminal_Generally_Av
Fabric_CLI_explore_and_automate_Microsoft_Fabric_from_your_terminal_Generally_AvFabric_CLI_explore_and_automate_Microsoft_Fabric_from_your_terminal_Generally_Av
Whether you want to explore Fabric like a file system, automate deployments, or integrate with your CI/CD pipelines — the CLI is here to make it faster, simpler, and more fun.
We can’t wait to see what you build.
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.