Skip to content

Commit

Permalink
Release 2.0.8 (#41)
Browse files Browse the repository at this point in the history
  • Loading branch information
rohitramu authored Nov 17, 2024
2 parents d3f6ad2 + be9e9bd commit 8dad1c6
Show file tree
Hide file tree
Showing 2 changed files with 6 additions and 4 deletions.
2 changes: 2 additions & 0 deletions .goreleaser.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -7,3 +7,5 @@ archives:
- format: binary
name_template: "{{ .ProjectName }}_{{ .Os }}_{{ .Arch }}"
files: []
builds_info:
mode: 0777
8 changes: 4 additions & 4 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -53,25 +53,25 @@ Download the KPM executable from the [Releases](https://github.com/rohitramu/kpm
#### Using `wget` on Linux

```sh
wget -P /usr/bin -O kpm "https://github.com/rohitramu/kpm/releases/latest/kpm_${os}_${arch}"
wget -P /usr/bin -O kpm "https://github.com/rohitramu/kpm/releases/latest/download/kpm_${os}_${arch}"
```

For example, if `os=linux` and `arch=amd64`:

```sh
wget -P /usr/bin -O kpm "https://github.com/rohitramu/kpm/releases/latest/kpm_linux_amd64"
wget -P /usr/bin -O kpm "https://github.com/rohitramu/kpm/releases/latest/download/kpm_linux_amd64"
```

#### Using PowerShell on Windows

```powershell
Invoke-WebRequest -OutFile "${Env:ProgramFiles}/kpm.exe" "https://github.com/rohitramu/kpm/releases/latest/kpm_${os}_${arch}.exe"
Invoke-WebRequest -OutFile "${Env:ProgramFiles}/kpm.exe" "https://github.com/rohitramu/kpm/releases/latest/download/kpm_${os}_${arch}.exe"
```

For example, if `os=windows` and `arch=amd64`:

```powershell
Invoke-WebRequest -OutFile "${Env:ProgramFiles}/kpm.exe" "https://github.com/rohitramu/kpm/releases/latest/kpm_windows_amd64.exe"
Invoke-WebRequest -OutFile "${Env:ProgramFiles}/kpm.exe" "https://github.com/rohitramu/kpm/releases/latest/download/kpm_windows_amd64.exe"
```

### Command line usage
Expand Down

0 comments on commit 8dad1c6

Please sign in to comment.