Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

docs: fix docs bugs in installing kbcli, bakcup repo docs #8870

Merged
merged 9 commits into from
Jan 24, 2025
Merged
Show file tree
Hide file tree
Changes from 8 commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
52 changes: 0 additions & 52 deletions docs/user_docs/handle-an-exception/full-disk-lock.md

This file was deleted.

12 changes: 12 additions & 0 deletions docs/user_docs/installation/install-kbcli.md
Original file line number Diff line number Diff line change
Expand Up @@ -42,9 +42,11 @@ You can install kbcli with `curl` or `brew`.
```bash
curl -fsSL https://kubeblocks.io/installer/install_cli.sh | bash -s x.y.z
```

You can view all versions of kbcli, including alpha and beta releases, on the [kbcli releases list](https://github.com/apecloud/kbcli/releases).

To get stable releases, use this command:

```bash
curl -s "https://api.github.com/repos/apecloud/kbcli/releases?per_page=100&page=1" | jq -r '.[] | select(.prerelease == false) | .tag_name' | sort -V -r
```
Expand Down Expand Up @@ -148,6 +150,12 @@ Install kbcli using the `curl` command.
curl -fsSL https://kubeblocks.io/installer/install_cli.sh | bash
```

To install a specified version of kbcli, use `-s` after the command and describe the version you want to install.

```bash
curl -fsSL https://kubeblocks.io/installer/install_cli.sh | bash -s x.y.z
```

2. Run `kbcli version` to check the version of kbcli and ensure that it is successfully installed.

:::note
Expand All @@ -159,6 +167,10 @@ Install kbcli using the `curl` command.
</TabItem>
</Tabs>

## Upgrade kbcli

To upgrade kbcli, [uninstall the current kbcli](./uninstall-kubeblocks-and-kbcli.md#uninstall-kbcli) and install the latest version.

## (Optional) Enable auto-completion for kbcli

`kbcli` supports command line auto-completion.
Expand Down
Loading
Loading