1 ---
2 asIndexPage: true
3 title: CLI
4 ---
5
6 # CLI
7
8 `smb` is the smbCloud command-line tool. You use it to log in and to manage and
9 deploy your smbCloud resources from the terminal.
10
11 ```text
12 Usage: smb [OPTIONS] <COMMAND>
13
14 Commands:
15 login Login to your account. To create an account, visit https://smbcloud.xyz
16 help Print this message or the help of the given subcommand(s)
17
18 Options:
19 -l, --log-level <LOG_LEVEL> Log level: trace, debug, info, warn, error, off
20 -h, --help Print help
21 -V, --version Print version
22 ```
23
24 ## Install
25
26 Pick the channel that fits your setup — each one installs the same `smb` binary.
27
28 | Channel | Best for | Guide |
29 | --- | --- | --- |
30 | Native (Cargo) | Rust users, building from source | [Native](/developer/cli/native) |
31 | Homebrew | macOS / Linux, pre-built binary | [Homebrew](/developer/cli/homebrew) |
32 | npm | JS toolchains (npm, pnpm, bun, yarn) | [npm](/developer/cli/npm) |
33 | PyPI | Python toolchains (uv, pip) | [PyPI](/developer/cli/pypi) |
34
35 After installing, check it worked:
36
37 ```bash
38 smb --version
39 ```
40
41 You can also download a binary for any release directly from the
42 [GitHub releases page](https://github.com/smbcloudXYZ/smbcloud-cli/releases).
43
44 import { Callout } from 'nextra/components'
45
46 <Callout type="info">
47 The install and contributing pages in this section are synced from the
48 [smbcloud-cli](https://github.com/smbcloudXYZ/smbcloud-cli) repository. Edit
49 them there.
50 </Callout>