Skip to content

Commit 171d88f

Browse files
authored
Zcli (#225)
* cli
1 parent 6c5946c commit 171d88f

File tree

2 files changed

+192
-187
lines changed

2 files changed

+192
-187
lines changed

apps/docs/content/references/cli.mdx

Lines changed: 14 additions & 15 deletions
Original file line numberDiff line numberDiff line change
@@ -6,8 +6,6 @@ description: Learn how to install and use zCLI, the powerful command-line tool f
66
import CustomCard from '/src/components/CustomCard';
77
import Image from '/src/components/Image';
88

9-
## What is zCLI?
10-
119
zCLI is the command-line tool for Zerops that allows users to manage services, simplify interactions, configure infrastructure directly from the terminal.
1210

1311
## Platforms
@@ -20,20 +18,17 @@ zCLI currently supports:
2018

2119
## Get started
2220

23-
To get started, you may install **zCLI** globally using [NPM](https://www.npmjs.com) or [Yarn](https://yarnpkg.com/) package manager:
21+
### Manual Installation
2422

25-
```sh
26-
npm i -g @zerops/zcli
27-
```
23+
To download the zCLI directly, get the [latest release](https://github.com/zeropsio/zcli/releases) from GitHub.
24+
25+
### Linux/MacOS
2826

2927
```sh
30-
yarn global add @zerops/zcli
28+
curl -L https://zerops.io/zcli/install.sh | sh
3129
```
3230

33-
<CustomCard emoji="🚀" title="Do you want to manually download the zCli binary?">
34-
To download the zCLI directly, get the [latest
35-
](https://github.com/zeropsio/zcli/releases) release from GitHub.
36-
</CustomCard>
31+
zCLI will be installed inside `/usr/bin` or `/usr/local/bin`.
3732

3833
### Windows
3934

@@ -43,13 +38,17 @@ irm https://zerops.io/zcli/install.ps1 | iex
4338

4439
zCLI will be installed inside `C:\Program Files\` or `C:\Program Files (x86)\`
4540

46-
### Linux/MacOS
41+
### Using Package Managers
42+
43+
You can also install zCLI using package managers:
4744

4845
```sh
49-
curl -L https://zerops.io/zcli/install.sh | sh
46+
npm i -g @zerops/zcli
5047
```
5148

52-
zCLI will be installed inside `/usr/bin` or `/usr/local/bin`.
49+
```sh
50+
yarn global add @zerops/zcli
51+
```
5352

5453
### NixOS
5554

@@ -106,4 +105,4 @@ zcli login <token>
106105

107106
## References
108107

109-
[zCLI Commands and Usage](/references/cli/commands)
108+
[zCLI Commands and Usage](/references/cli/commands)

0 commit comments

Comments
 (0)