Skip to Content

Install

Generated from docs/install.md in smbcloud-cli . Edit it there.

smb ships as a single native binary. Pick the channel that matches your toolchain.

Homebrew (macOS and Linux)

brew tap smbcloudXYZ/tap && brew trust --tap smbcloudXYZ/tap brew install cli

See Homebrew.

npm

npm install -g @smbcloud/cli

See npm.

Cargo

export CLI_CLIENT_SECRET=<secret> cargo install smbcloud-cli

Cargo builds from source and needs CLI_CLIENT_SECRET at compile time. See Native (Cargo). The other channels ship pre-built binaries and need no secret.

.NET tool

dotnet tool install --global SmbCloud.Cli

pip

pip install smbcloud-cli

See PyPI.

Shell (macOS and Linux)

curl -fsSL https://raw.githubusercontent.com/smbcloudXYZ/smbcloud-cli/main/install-unix.sh | sh

PowerShell (Windows)

irm https://raw.githubusercontent.com/smbcloudXYZ/smbcloud-cli/main/install-windows.sh | iex

Pre-built binaries

Download a binary from the Releases  page.

Verify

smb --version
Last updated on