Microsoft Fabric Updates Blog

Introducing the Fabric CLI (Preview)

TL; DR

  • The Fabric CLI is now in Preview.
  • It offers a developer-first, file-system-inspired way to explore and manage Microsoft Fabric.
  • Use it interactively or script it into your workflows — from your terminal, in seconds.
  • Built on Fabric APIs, designed for automation, and constantly evolving.
  • Open source is on the horizon — with plans to empower the community to extend and shape the CLI.

Give it a try. Break things. Tell us what you want next.

Install the CLI and get started


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.

What is Fabric CLI?

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.

Why we built the Fabric CLI

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.

Who is Fabric CLI for?

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:

  • Data analysts who want to explore and run items more efficiently
  • System administrators who manage Fabric environments at scale
  • Power users who want to automate routine tasks or build repeatable workflows

Whether you’re exploring, scripting, or scaling operations — the CLI is here to help you move faster, stay focused, and do more with Fabric.

From verbose API calls to one simple command

What you can do today with the Fabric CLI

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:

Interactive mode

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:/$ ls
fab:/$ cd ws1.workspace
fab:/ws1.workspace$ job start dp1.datapipeline

Command-Line mode (Scripting)

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

The Fabric CLI in action

Watch: a quick CLI demo showing navigating and creating workspaces and running a simple data pipeline.

What developers are exploring with the Fabric CLI

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:

  • Building and testing Fabric projects locally — with the same fluency they expect from working with code and developer tools.
  • Scripting dev or demo environments — spinning up workspaces and deploying items in seconds.
  • Integrating with GitHub Actions or Azure DevOps — automating pipelines, lakehouses, and report deployments.
  • Chaining commands with Bash / PowerShell — to streamline multi-step data workflows.

What’s next

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:

  • Expanding capabilities — As new Fabric APIs and item types are released, we’ll bring them into the CLI so you can script, automate, and explore even more of the platform with simple commands.
  • Investing in developer experience — From smarter help, autocomplete and better output formatting and querying to integrating within other tools — we’re making the CLI faster, clearer, and more intuitive for day-to-day use.
  • Opening it up to the community — We’re working toward open-sourcing the Fabric CLI, so developers can extend it with new commands, build their own tooling on top of it, and benefit from what others in the community create.

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.

Next steps: ready to try it?

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

Find out more information in our documentation.

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.

Related blog posts

Introducing the Fabric CLI (Preview)

June 11, 2025 by Eren Orbey

Earlier this year, we released AI functions in public preview, allowing Fabric customers to apply LLM-powered transformations to OneLake data simply and seamlessly, in a single line of code. Since then, we’ve continued iterating on AI functions in response to your feedback. Let’s explore the latest updates, which make AI functions more powerful, more cost-effective, … Continue reading “Introducing upgrades to AI functions for better performance—and lower costs”

June 2, 2025 by Kim Manis

The Microsoft Fabric Community Conference is back for its third year—and we’re bringing everything and everybody you’ve loved at past events with us to Atlanta, Georgia. After unforgettable experiences at FabCon in Las Vegas and Stockholm, the Fabric community proved just how powerful it can be when we come together. With more than 13,000 attendees across our last three conferences, it’s clear: the Microsoft Fabric community is here to drive the future of data!    And yes, we’re pleased to announce; it’s happening again! Mark your calendars … Continue reading “Microsoft Fabric Community Conference Comes to Atlanta!”