Skip to content

Commit 4e1651f

Browse files
authored
Merge pull request #95 from DefangLabs/jordan/other-installation-options
Improve Installation Docs
2 parents 25bb917 + 6e24c69 commit 4e1651f

File tree

1 file changed

+12
-5
lines changed

1 file changed

+12
-5
lines changed

docs/getting-started/installing.md

Lines changed: 12 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -15,7 +15,7 @@ We offer a few different ways to install the Defang CLI. You can use a bash scri
1515

1616
<Tabs>
1717
<TabItem value="bash" label="Bash">
18-
## Using a Bash Script
18+
**Using a Bash Script**
1919

2020
You can install the Defang CLI using a bash script. Run the following command in your terminal:
2121

@@ -26,7 +26,7 @@ We offer a few different ways to install the Defang CLI. You can use a bash scri
2626
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.
2727
</TabItem>
2828
<TabItem value="homebrew" label="Homebrew" default>
29-
## Using Homebrew
29+
**Using Homebrew**
3030

3131
You can easily install the Defang CLI using [Homebrew](https://brew.sh/). Run the following command in your terminal:
3232

@@ -35,17 +35,24 @@ We offer a few different ways to install the Defang CLI. You can use a bash scri
3535
```
3636
</TabItem>
3737
<TabItem value="winget" label="Winget">
38-
## Using Winget
38+
**Using Winget**
3939

4040
On Windows, you can install the Defang CLI using `winget`. Run the following command in your terminal:
4141

4242
```powershell
4343
winget install defang
4444
```
4545
</TabItem>
46+
<TabItem value="nix" label="Nix">
47+
**Using Nix**
48+
49+
```bash
50+
nix profile install github:DefangLabs/defang#defang-bin --refresh
51+
```
52+
</TabItem>
4653
<TabItem value="direct" label="Direct Download">
47-
## Direct Download
54+
**Direct Download**
4855

49-
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`.
56+
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`.
5057
</TabItem>
5158
</Tabs>

0 commit comments

Comments
 (0)