Skip to content

Commit c1d1eb6

Browse files
authored
Update installing.md
add Winget
1 parent 8332042 commit c1d1eb6

File tree

1 file changed

+12
-4
lines changed

1 file changed

+12
-4
lines changed

docs/getting-started/installing.md

Lines changed: 12 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -8,26 +8,34 @@ description: How to install Defang.
88

99
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.
1010

11-
We offer a few different ways to install the Defang CLI. You can use Homebrew, a bash script, or download the binary directly.
11+
We offer a few different ways to install the Defang CLI. You can use Homebrew, a bash script, Winget, or download the binary directly.
1212

1313
## Using Homebrew
1414

15-
You can easily install the Defang CLI using [Homebrew](https://brew.sh/). Just run the following command in your terminal:
15+
You can easily install the Defang CLI using [Homebrew](https://brew.sh/). Run the following command in your terminal:
1616

1717
```bash
1818
brew install DefangLabs/defang/defang
1919
```
2020

2121
## Using a Bash Script
2222

23-
You can install the Defang CLI using a bash script. Just run the following command in your terminal:
23+
You can install the Defang CLI using a bash script. Run the following command in your terminal:
2424

2525
```bash
26-
. <(curl -Ls https://s.defang.io/install.sh)
26+
. <(curl -Ls s.defang.io/install)
2727
```
2828

2929
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.
3030

31+
## Using Winget
32+
33+
On Windows, you can install the Defang CLI using `winget`. Run the following command in your terminal:
34+
35+
```powershell
36+
winget install defang
37+
```
38+
3139
## Direct Download
3240

3341
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`.

0 commit comments

Comments
 (0)