Files
v10/packages/cli
Wesley LuytenGitHubgithub-actions[bot] <github-actions[bot]@users.noreply.github.com>
cce48c01fa chore: release main (#1375)
Co-authored-by: github-actions[bot] <github-actions[bot]@users.noreply.github.com>
2026-04-27 13:47:20 -07:00
..
2026-04-27 13:47:20 -07:00
2026-04-27 13:47:20 -07:00

@videojs/cli

package-badge

⚠️ Beta Experimental adoption in real projects.

The Video.js 10 CLI. Read documentation from your terminal and generate installation snippets tailored to your setup (framework, preset, skin, media engine, package manager).

Install

Run without installing:

npx @videojs/cli --help

Or install globally:

npm install -g @videojs/cli
videojs --help

Scripts below use videojs for brevity — substitute npx @videojs/cli if you don't install globally.

Examples

Read a doc page:

videojs docs concepts/overview

Generate a framework-specific installation snippet interactively:

videojs docs how-to/installation \
  --framework react \
  --preset video \
  --skin default \
  --media hls \
  --install-method pnpm \
  --source-url https://example.com/video.m3u8

For full usage, run videojs --help, videojs docs --help, or videojs config --help.

Community

If you need help with anything related to Video.js 10, or if you'd like to casually chat with other members:

License

Apache-2.0