Skip to content

Commit 5b41deb

Browse files
authored
Merge pull request #19 from DefangLabs/linda-fix-bash-chatbot
Fixed bash install to use eval
2 parents 4609707 + 1dcf4b0 commit 5b41deb

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

app/knowledge_base.json

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -212,7 +212,7 @@
212212
{
213213
"id": 43,
214214
"about": "How to Install Defang",
215-
"text": "Defang doesn't require installing anything in your cloud, but you will need to install the [open source](https://github.com/DefangLabs/defang) Defang command line interface (CLI) to interact with your Defang resources and account. We offer a few different ways to install the Defang CLI. You can use a bash script, Homebrew, Winget, or you can download the binary directly. <Tabs> <TabItem value=\"bash\" label=\"Bash\"> **Using a Bash Script** You can install the Defang CLI using a bash script. Run the following command in your terminal: ```bash . <(curl -Ls s.defang.io/install) ``` The script will try to download the appropriate binary for your operating system and architecture, add it to `~/.local/bin`, and add `~/.local/bin` to your `PATH` if it's not already there, with your permission. If you do not provide permission it will print an appropriate instruction for you to follow to add it manually. You can also customize the installation directory by setting the `INSTALL_DIR` environment variable before running the script. </TabItem> <TabItem value=\"homebrew\" label=\"Homebrew\" default> **Using Homebrew** You can easily install the Defang CLI using [Homebrew](https://brew.sh/). Run the following command in your terminal: ```bash brew install DefangLabs/defang/defang ``` </TabItem> <TabItem value=\"winget\" label=\"Winget\"> **Using Winget** On Windows, you can install the Defang CLI using `winget`. Run the following command in your terminal: ```powershell winget install defang ``` </TabItem> <TabItem value=\"nix\" label=\"Nix\"> **Using Nix** ```bash nix profile install github:DefangLabs/defang#defang-bin --refresh ``` </TabItem> <TabItem value=\"direct\" label=\"Direct Download\"> **Direct Download** You can find the latest version of the Defang CLI on the [latest release page](https://github.com/DefangLabs/defang/releases/latest). Just download the appropriate binary for your operating system and architecture, and put it somewhere in your `PATH`. </TabItem> </Tabs>"
215+
"text": "Defang doesn't require installing anything in your cloud, but you will need to install the [open source](https://github.com/DefangLabs/defang) Defang command line interface (CLI) to interact with your Defang resources and account. We offer a few different ways to install the Defang CLI. You can use a bash script, Homebrew, Winget, or you can download the binary directly. <Tabs> <TabItem value=\"bash\" label=\"Bash\"> **Using a Bash Script** You can install the Defang CLI using a bash script. Run the following command in your terminal: ```bash eval \"$(curl -fsSL s.defang.io/install)\" ``` The script will try to download the appropriate binary for your operating system and architecture, add it to `~/.local/bin`, and add `~/.local/bin` to your `PATH` if it's not already there, with your permission. If you do not provide permission it will print an appropriate instruction for you to follow to add it manually. You can also customize the installation directory by setting the `INSTALL_DIR` environment variable before running the script. </TabItem> <TabItem value=\"homebrew\" label=\"Homebrew\" default> **Using Homebrew** You can easily install the Defang CLI using [Homebrew](https://brew.sh/). Run the following command in your terminal: ```bash brew install DefangLabs/defang/defang ``` </TabItem> <TabItem value=\"winget\" label=\"Winget\"> **Using Winget** On Windows, you can install the Defang CLI using `winget`. Run the following command in your terminal: ```powershell winget install defang ``` </TabItem> <TabItem value=\"nix\" label=\"Nix\"> **Using Nix** ```bash nix profile install github:DefangLabs/defang#defang-bin --refresh ``` </TabItem> <TabItem value=\"direct\" label=\"Direct Download\"> **Direct Download** You can find the latest version of the Defang CLI on the [latest release page](https://github.com/DefangLabs/defang/releases/latest). Just download the appropriate binary for your operating system and architecture, and put it somewhere in your `PATH`. </TabItem> </Tabs>"
216216
},
217217
{
218218
"id": 44,

0 commit comments

Comments
 (0)