From 0660faae59eb8bb646d8deb3434b91ea4d57d796 Mon Sep 17 00:00:00 2001 From: Jordan Stephens Date: Fri, 20 Sep 2024 15:52:18 -0700 Subject: [PATCH 1/3] avoid using headers since they dont work with tabs --- docs/getting-started/installing.md | 8 ++++---- 1 file changed, 4 insertions(+), 4 deletions(-) diff --git a/docs/getting-started/installing.md b/docs/getting-started/installing.md index 73111037c..bc7ad5d85 100644 --- a/docs/getting-started/installing.md +++ b/docs/getting-started/installing.md @@ -15,7 +15,7 @@ We offer a few different ways to install the Defang CLI. You can use a bash scri - ## Using a Bash Script + **Using a Bash Script** You can install the Defang CLI using a bash script. Run the following command in your terminal: @@ -26,7 +26,7 @@ We offer a few different ways to install the Defang CLI. You can use a bash scri 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. - ## Using Homebrew + **Using Homebrew** You can easily install the Defang CLI using [Homebrew](https://brew.sh/). Run the following command in your terminal: @@ -35,7 +35,7 @@ We offer a few different ways to install the Defang CLI. You can use a bash scri ``` - ## Using Winget + **Using Winget** On Windows, you can install the Defang CLI using `winget`. Run the following command in your terminal: @@ -44,7 +44,7 @@ We offer a few different ways to install the Defang CLI. You can use a bash scri ``` - ## Direct Download + **Direct Download** You can find the latest version of the Defang CLI on the [releases page](https://github.com/DefangLabs/defang/releases). Just download the appropriate binary for your operating system and architecture, and put it somewhere in your `PATH`. From f50cd4e5748a114f5f01105083dc0840cbb56632 Mon Sep 17 00:00:00 2001 From: Jordan Stephens Date: Fri, 20 Sep 2024 15:52:25 -0700 Subject: [PATCH 2/3] add nix tab --- docs/getting-started/installing.md | 7 +++++++ 1 file changed, 7 insertions(+) diff --git a/docs/getting-started/installing.md b/docs/getting-started/installing.md index bc7ad5d85..fbd9ec11d 100644 --- a/docs/getting-started/installing.md +++ b/docs/getting-started/installing.md @@ -43,6 +43,13 @@ We offer a few different ways to install the Defang CLI. You can use a bash scri winget install defang ``` + + **Using Nix** + + ```bash + nix profile install github:DefangLabs/defang#defang-bin --refresh + ``` + **Direct Download** From 6e24c6965116c7bc7ce7098e516524324b43f605 Mon Sep 17 00:00:00 2001 From: Jordan Stephens Date: Fri, 20 Sep 2024 15:52:31 -0700 Subject: [PATCH 3/3] link to latest release page --- docs/getting-started/installing.md | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/docs/getting-started/installing.md b/docs/getting-started/installing.md index fbd9ec11d..3b57ac37b 100644 --- a/docs/getting-started/installing.md +++ b/docs/getting-started/installing.md @@ -53,6 +53,6 @@ We offer a few different ways to install the Defang CLI. You can use a bash scri **Direct Download** - You can find the latest version of the Defang CLI on the [releases page](https://github.com/DefangLabs/defang/releases). Just download the appropriate binary for your operating system and architecture, and put it somewhere in your `PATH`. + 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`.