Mux CLI
Product · Developer tool · Engineering & development by Mux
Manage Mux resources directly from your terminal for scripting, automation, and CI/CD pipelines.
Mux CLI is a command-line interface tool designed for developers to manage Mux video resources directly from their terminal. It enables teams to automate video workflows, including asset creation, live stream management, and webhook testing, without using the dashboard. The tool is particularly optimized for AI coding agents, offering a specific flag to provide machine-readable JSON output. It supports installation via npm or Homebrew, making it accessible across various development environments. Mux CLI serves as a bridge for scripting, automation, and CI/CD pipelines within video-centric app
- Price
- From 0 USD
- Languages
- English
- Installation Method
- npm, npx, or Homebrew
- Package Name
- @mux/cli
- Authentication
- API Access Tokens
- Output Formats
- Standard text and JSON
Overview
Mux CLI is a command-line interface tool designed for developers to manage Mux video resources directly from their terminal. It enables teams to automate video workflows, including asset creation, live stream management, and webhook testing, without using the dashboard. The tool is particularly optimized for AI coding agents, offering a specific flag to provide machine-readable JSON output. It supports installation via npm or Homebrew, making it accessible across various development environments. Mux CLI serves as a bridge for scripting, automation, and CI/CD pipelines within video-centric applications.
Developer Experience
- Terminal Resource Management: The Mux CLI allows developers to manage Mux resources directly from the terminal, including assets, live streams, and webhooks.
- AI Agent Optimization: The CLI includes a --agent flag that optimizes output for AI agents, including JSON formatting.
- Synchronous Asset Creation: Developers can use the --wait flag to block terminal operations until an asset is fully processed and ready.
- Secure Authentication: The tool supports authentication via 'mux login' or by setting MUX_TOKEN_ID and MUX_TOKEN_SECRET environment variables.
Video Operations
- Remote URL Ingestion: Create assets from a remote URL using 'mux assets create --url URL'.
- Local File Uploads: Upload local video files directly from the terminal using 'mux assets create --upload./video.mp4'.
- Asset Inspection: Retrieve a list of all assets or specific asset details using 'list' and 'get' commands.
- Signed Playback Generation: Generate signed playback URLs for private content directly from the command line.
Pricing
- Mux CLI
- Free to use with a Mux account
Specifications
- Installation Method
- npm, npx, or Homebrew
- Package Name
- @mux/cli
- Authentication
- API Access Tokens
- Output Formats
- Standard text and JSON
Added by AntSpace from public sources (mux.com).