Skip to content
Merged
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
14 changes: 13 additions & 1 deletion README.md
Original file line number Diff line number Diff line change
Expand Up @@ -15,7 +15,19 @@ This downloads the correct prebuilt binary for your OS/architecture from the
[Releases](https://github.com/linuxfoundation/lfx-cli/releases) page,
verifies its checksum, and installs it to `/usr/local/bin` (or `~/.local/bin`
if that's not writable). Set `LFX_CLI_VERSION` to pin a specific release, or
`LFX_CLI_INSTALL_DIR` to override the install location.
`LFX_CLI_INSTALL_DIR` to override the install location. This works out of
the box on macOS and Linux, and on Windows under Git Bash or WSL.

On native Windows (PowerShell), use `install.ps1` instead, since Windows has
no `sh` interpreter by default:

```powershell
irm https://linuxfoundation.github.io/lfx-cli/install.ps1 | iex
```

This installs to `%LOCALAPPDATA%\lfx-cli\bin` by default (or
`LFX_CLI_INSTALL_DIR` if set), and honors `LFX_CLI_VERSION` the same way as
`install.sh`.

Alternatively, install with Go:

Expand Down
Loading