You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Copy file name to clipboardExpand all lines: README.md
+13-5Lines changed: 13 additions & 5 deletions
Display the source diff
Display the rich diff
Original file line number
Diff line number
Diff line change
@@ -8,11 +8,14 @@ This repo includes:
8
8
* Samples that show how to deploy an app using the [Defang Pulumi Provider](https://github.com/defang-io/pulumi-defang).
9
9
10
10
## Getting started
11
-
* Read our [Terms and Conditions](https://defang.io/terms-service.html)
12
-
* Download the [latest version](https://github.com/defang-io/defang/releases/latest/) of the Defang CLI. For this beta, MacOS users will have to explicitly allow running of downloaded programs in the OS security settings.
13
-
* or use the [Nix package manager](https://nixos.org):
11
+
* Read our [Terms of Service](https://defang.io/terms-service.html)
12
+
* Install the Defang CLI from one of the following sources:
13
+
* Download the [latest version](https://github.com/defang-io/defang/releases/latest/) of the Defang CLI. For this beta, MacOS users will have to explicitly allow running of downloaded programs in the OS security settings.
14
+
* Using the [Homebrew package manager](https://brew.sh): `brew install defang-io/defang/defang-cli`
15
+
* Using [Go](https://go.dev): `go install github.com/defang-io/defang/src/cmd/cli@latest`
16
+
* Using the [Nix package manager](https://nixos.org):
14
17
* with Nix-Env: `nix-env -if https://github.com/defang-io/defang/archive/main.tar.gz`
15
-
* with Flakes: `nix profile install github:defang-io/defang#defang-bin --refresh`
18
+
*or with Flakes: `nix profile install github:defang-io/defang#defang-bin --refresh`
16
19
* Take a look at our [Samples folder](https://github.com/defang-io/defang/tree/main/samples) for example projects in various programming languages.
17
20
* Try the AI integration by running `defang generate`
18
21
* Start your new service with `defang compose up`
@@ -21,7 +24,7 @@ This repo includes:
21
24
* File any issues [right here on GitHub](https://github.com/defang-io/defang/issues)
22
25
23
26
## Command completion
24
-
The Defang CLI supports command completion for Bash, Zsh, and Fish. To get the shell script for command completion, run the following command:
27
+
The Defang CLI supports command completion for Bash, Zsh, Fish, and Powershell. To get the shell script for command completion, run the following command:
25
28
```
26
29
defang completion [bash|zsh|fish|powershell]
27
30
```
@@ -42,6 +45,11 @@ If you're using Fish, you can add the following to your `~/.config/fish/config.f
42
45
defang completion fish | source
43
46
```
44
47
48
+
If you're using Powershell, you can add the following to your `$HOME\Documents\PowerShell\Microsoft.PowerShell_profile.ps1` file:
0 commit comments