Skip to content

Commit 0607282

Browse files
authored
fixes #137
1 parent c9857a6 commit 0607282

File tree

2 files changed

+42
-2
lines changed

2 files changed

+42
-2
lines changed

docs/install-cli.md renamed to docs/cli.md

+41-1
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,8 @@
1-
The dbdev CLI is required to publish your TLE to [database.dev](https://database.dev/).
1+
The `dbdev` CLI can be used for:
2+
3+
- Installing TLEs from [database.dev] or your local machine.
4+
- Updating TLEs from [database.dev] or your local machine.
5+
- Publishing TLEs to [database.dev](https://database.dev/).
26

37
## Installation
48

@@ -37,6 +41,42 @@ Installation is available through a native package, binary download or building
3741
scoop install dbdev
3842
```
3943

44+
## Upgrading
45+
46+
Use `dbdev --version` to check if you are on the latest version of the CLI.
47+
48+
### Native Package
49+
50+
=== "macOS"
51+
52+
Upgrade the CLI with [Homebrew](https://brew.sh/):
53+
```
54+
brew upgrade dbdev
55+
```
56+
57+
=== "Linux"
58+
59+
Install the CLI with [Homebrew](https://brew.sh/):
60+
```
61+
brew upgrade dbdev
62+
```
63+
64+
#### Linux packages
65+
66+
Debian Linux packages are provided in [Releases](https://github.com/supabase/dbdev/releases).
67+
To upgrade, download the `.deb` file and run the following:
68+
69+
```
70+
sudo dpkg -i <...>.deb
71+
```
72+
73+
=== "Windows"
74+
75+
Update the CLI with [Scoop](https://scoop.sh/).
76+
```
77+
scoop update dbdev
78+
```
79+
4080
### Binary Download
4181

4282
Binaries for dbdev CLI are available for Linux, Windows and macOS platforms. Visit the [dbdev releases page](https://github.com/supabase/dbdev/releases) to download a binary for your OS. The downloaded binary should be placed in a folder which is in your [PATH](<https://en.wikipedia.org/wiki/PATH_(variable)>).

mkdocs.yaml

+1-1
Original file line numberDiff line numberDiff line change
@@ -7,7 +7,7 @@ repo_url: https://github.com/supabase/dbdev
77

88
nav:
99
- Welcome: 'index.md'
10-
- Install CLI: 'install-cli.md'
10+
- Using the CLI: 'cli.md'
1111
- Publish a Package: 'publish-extension.md'
1212
- Install a Package: 'install-in-db-client.md'
1313
- Structure of a Postgres Extension: 'extension_structure.md'

0 commit comments

Comments
 (0)