Skip to content

Commit d94bbab

Browse files
committed
Add more installation sources #38
1 parent 3ffc870 commit d94bbab

File tree

1 file changed

+13
-5
lines changed

1 file changed

+13
-5
lines changed

README.md

Lines changed: 13 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -8,11 +8,14 @@ This repo includes:
88
* Samples that show how to deploy an app using the [Defang Pulumi Provider](https://github.com/defang-io/pulumi-defang).
99

1010
## 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):
1417
* 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`
1619
* Take a look at our [Samples folder](https://github.com/defang-io/defang/tree/main/samples) for example projects in various programming languages.
1720
* Try the AI integration by running `defang generate`
1821
* Start your new service with `defang compose up`
@@ -21,7 +24,7 @@ This repo includes:
2124
* File any issues [right here on GitHub](https://github.com/defang-io/defang/issues)
2225

2326
## 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:
2528
```
2629
defang completion [bash|zsh|fish|powershell]
2730
```
@@ -42,6 +45,11 @@ If you're using Fish, you can add the following to your `~/.config/fish/config.f
4245
defang completion fish | source
4346
```
4447

48+
If you're using Powershell, you can add the following to your `$HOME\Documents\PowerShell\Microsoft.PowerShell_profile.ps1` file:
49+
```
50+
Invoke-Expression -Command (defang completion powershell | Out-String)
51+
```
52+
4553
## Environment Variables
4654
The Defang CLI recognizes the following environment variables:
4755
* `DEFANG_ACCESS_TOKEN` - The access token to use for authentication; if not specified, uses token from `defang login`

0 commit comments

Comments
 (0)