Skip to Content

npm Installation

Synced from docs/cli-install-npm.md on the main branch of smbcloud-cli . Edit it there.

Install

npm install -g @smbcloud/cli

Also works with pnpm, bun, and yarn:

pnpm add -g @smbcloud/cli bun add -g @smbcloud/cli yarn global add @smbcloud/cli

Verify

smb --version

Upgrade

npm update -g @smbcloud/cli

Uninstall

npm uninstall -g @smbcloud/cli

Pre-built binaries

All installation methods above use pre-built binaries. You can also download them directly from the GitHub releases page  — useful for air-gapped environments, custom install scripts, or pinning to a specific version.