Skip to content

Commit d38f269

Browse files
committed
Update installation instructions
1 parent 3f8c133 commit d38f269

3 files changed

Lines changed: 16 additions & 12 deletions

File tree

src/content/docs/client-apis/go.mdx

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -5,7 +5,7 @@ description: "Use Ladybug embedded graph database in Go applications with the of
55

66
import { LinkCard } from '@astrojs/starlight/components';
77

8-
See the following link for the full documentation of the `go-lbug` package.
8+
See the following link for the full documentation of the `go-ladybug` package.
99

1010
<LinkCard
1111
title="Go API documentation"

src/content/docs/get-started/index.mdx

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -451,7 +451,7 @@ package main
451451
import (
452452
"fmt"
453453

454-
"github.com/LadybugDB/go-lbug"
454+
"github.com/LadybugDB/go-ladybug"
455455
)
456456

457457
func main() {

src/content/docs/installation.mdx

Lines changed: 14 additions & 10 deletions
Original file line numberDiff line numberDiff line change
@@ -20,8 +20,8 @@ tar xzf lbug_cli-*.tar.gz`,
2020
macos: `curl -L -O https://github.com/LadybugDB/ladybug/releases/download/v${version}/lbug_cli-osx-universal.tar.gz
2121
tar xzf lbug_cli-*.tar.gz
2222
./lbug`,
23-
win: `curl -L -O https://github.com/LadybugDB/ladybug/releases/download/v${version}/lbug_cli-windows-x86_64.zip`,
24-
winUrl: `https://github.com/LadybugDB/ladybug/releases/download/v${version}/lbug_cli-windows-x86_64.zip`,
23+
win: `curl -L -O https://github.com/LadybugDB/ladybug/releases/download/latest/lbug_cli-windows-x86_64.zip`,
24+
winUrl: `https://github.com/LadybugDB/ladybug/releases/download/latest/lbug_cli-windows-x86_64.zip`,
2525
},
2626
java: `<dependency>
2727
<groupId>com.ladybugdb</groupId>
@@ -41,7 +41,7 @@ tar xzf liblbug-*.tar.gz`,
4141
tar xzf liblbug-*.tar.gz`,
4242
win: `curl -L -O https://github.com/LadybugDB/ladybug/releases/download/v${version}/liblbug-windows-x86_64.zip`
4343
},
44-
go: `go get github.com/LadybugDB/go-lbug@v${version}`,
44+
go: `go get https://github.com/LadybugDB/go-ladybug@v0.13.1`,
4545
swift: `dependencies: [
4646
.package(url: "https://github.com/LadybugDB/ladybug-swift/", branch: "${version}"),
4747
],`
@@ -63,13 +63,16 @@ executable with no dependencies that can be used to interact with a Ladybug data
6363
<Tabs syncKey="cli">
6464
<TabItem label="Linux">
6565

66-
Use a tool like `curl` to download the latest version of the Ladybug CLI to your local machine.
67-
<Code code={DOWNLOAD_LINKS.cli.linux} lang="bash" frame="terminal"/>
66+
You can install the Ladybug CLI using our install script.
6867

69-
Now you can run Ladybug from the command line.
68+
```bash
69+
curl -s https://install.ladybugdb.com | bash
70+
```
71+
72+
You can now run Ladybug from the command line.
7073

7174
```bash
72-
./lbug
75+
lbug
7376
```
7477

7578
</TabItem>
@@ -97,10 +100,11 @@ Alternatively, you can download the Ladybug CLI directly.
97100
<TabItem label="Windows">
98101

99102
Use a tool like `curl` to download the latest version of the Ladybug CLI to your local machine. Alternatively,
100-
simply open
101-
<a href={DOWNLOAD_LINKS.cli.winUrl} target="_blank">this URL</a> in your browser.
103+
simply open [this URL](https://github.com/LadybugDB/ladybug/releases/download/latest/lbug_cli-windows-x86_64.zip) in your browser.
102104

103-
<Code code={DOWNLOAD_LINKS.cli.win} lang="bash" frame="terminal"/>
105+
```bash
106+
curl -L -O https://github.com/LadybugDB/ladybug/releases/download/latest/lbug_cli-windows-x86_64.zip
107+
```
104108

105109
Right-click on the `lbug_cli-xxx.zip` file and click on **Extract All**. This will create a directory
106110
containing a file named `lbug.exe`. Then, right-click on the directory and click "Open in terminal".

0 commit comments

Comments
 (0)