--- id: ms-fabric-cli version: "1.6.1" license: unclear license_treatment: unclear maintenance: active --- # ms-fabric-cli — Command-line tool for Microsoft Fabric License: unclear · Maintenance: active · Downloads: 194.4K/mo ## What it is and what it does The Microsoft Fabric CLI is a terminal-based tool that treats your Fabric workspaces and items like a file system, letting you use familiar commands (ls, cd, mkdir, cp, rm) to navigate, create, copy, and delete Fabric objects. It supports both interactive shell mode for exploration and scripting mode for CI/CD automation, with built-in authentication via browser login, service principals, managed identity, or environment variables. Beyond navigation, it handles data operations—uploading and downloading OneLake files, loading CSV data into tables, optimizing table storage, managing shortcuts—and job orchestration, including running notebooks synchronously, scheduling pipelines, and checking job status. It also exposes direct REST API access with JMESPath filtering for advanced queries. The CLI is cross-platform (Windows, macOS, Linux) and supports shell completion for command-line mode. Use it for: - Automate Fabric workspace and item management in CI/CD pipelines using familiar shell commands and scripting. - Upload, download, and organize data files in OneLake directly from the terminal without opening the Fabric portal. - Schedule and monitor Fabric job runs (notebooks, pipelines) and check their status programmatically. - Explore and navigate Fabric workspaces interactively from the terminal as an alternative to the web UI. - Bulk export or import Fabric item definitions (reports, notebooks) for backup or version control. - Make authenticated REST API calls to Fabric with JMESPath queries for custom reporting or integration. ## Worth the install? AI-flagged interpretation of the facts above — verify before relying. A command-line interface for Microsoft Fabric that lets you navigate workspaces and items, manage data, run jobs, and automate Fabric operations using file-system-like commands from your terminal. Yes, if you work regularly with Microsoft Fabric and want to automate workspace operations or integrate Fabric into CI/CD pipelines. The tool is actively maintained, has low install friction, and offers genuine CLI-native automation that the web portal does not. However, clarify the license terms first (metadata is unclear) and verify that your use case aligns with its scripting and interactive modes. ## Install pip install ms-fabric-cli uv add ms-fabric-cli poetry add ms-fabric-cli ## Installing ms-fabric-cli Before you install: Low friction install with a pure Python wheel and active maintenance—last commit 2026-08-11, released 2026-04-28. Requires Python 3.10–3.13 and pulls in 13 runtime dependencies including Azure authentication (msal, azure-core) and interactive prompting (questionary, prompt_toolkit). License in practice: License treatment is unclear; the fact sheet does not specify SPDX or raw license metadata, so review the LICENSE file in the repository before adopting in a commercial or restricted-license context. Quickstart: pip install ms-fabric-cli fab auth login fab ls Requires Python 3.10–3.13 and a Microsoft Fabric account with workspace access; interactive login opens a browser for authentication. Verify before relying: - Exact license type (MIT is mentioned in description but not confirmed in metadata) - Whether all 13 runtime dependencies are truly required or some are optional - Performance and scalability limits for large workspaces or bulk operations ## Package facts - License: not declared (unclear) - Python support: supports_current - Install friction: low - Maintenance: active - Downloads: 194.4K/month (top 15,000 on PyPI) - Known vulnerabilities: none known ## Tags microsoft fabric command line tool, fabric cli navigation automation, workspace management from terminal, fabric item operations cli, onelake file operations command line, fabric job scheduling cli, fabric authentication scripting, microsoft-fabric, cli-tool, automation [View on SkillFed](https://skillfed.io/packages/ms-fabric-cli) · [View on PyPI](https://pypi.org/project/ms-fabric-cli/)