Skip to content

Commit 65aebdc

Browse files
authored
README.md: Update installation instructions
1 parent 82054da commit 65aebdc

File tree

1 file changed

+9
-8
lines changed

1 file changed

+9
-8
lines changed

README.md

Lines changed: 9 additions & 8 deletions
Original file line numberDiff line numberDiff line change
@@ -156,25 +156,27 @@ brew tap typisttech/tap
156156
brew install typisttech/composer-semver
157157
```
158158

159-
### `apt` (Debian based distributions, for example: Ubuntu)
159+
### `apt-get` (Debian based distributions, for example: Ubuntu)
160160

161161
```sh
162-
# TODO!
162+
curl -1sLf 'https://dl.cloudsmith.io/public/typisttech/oss/setup.deb.sh' | sudo -E bash
163+
sudo apt-get install composer-version
163164
```
164165

166+
Instead of the automatic setup script, you can manually configure the repository with the instructsions on [Cloudsmith](https://cloudsmith.io/~typisttech/repos/oss/setup/#formats-deb).
167+
165168
### Manual `.deb` (Debian based distributions, for example: Ubuntu)
166169

167170
> [!WARNING]
168171
> If you install the `.deb` file manually, you have to take care of updating it by yourself.
169172
170-
Download the latest `.deb` file from [GitHub Releases](https://github.com/typisttech/composer-semver/releases/latest).
171-
Alternatively, you can download it via [`gh`](https://cli.github.com/):
173+
Download the latest `.deb` file from [GitHub Releases](https://github.com/typisttech/composer-semver/releases/latest), or via [`gh`](https://cli.github.com/):
172174
```sh
173175
# Both arm64 (aarch64) and amd64 (x86_64) architectures are available.
174176
gh release download --repo 'typisttech/composer-semver' --pattern 'composer-semver_Linux_arm64.deb'
175177
```
176178

177-
Then, **optionally**, verify the `.deb` file:
179+
**Optionally**, verify the `.deb` file:
178180
```sh
179181
gh attestation verify --repo 'typisttech/composer-semver' 'composer-semver_Linux_arm64.deb'
180182
```
@@ -189,15 +191,14 @@ sudo dpkg -i composer-semver_Linux_arm64.deb
189191
> [!WARNING]
190192
> If you install the binary manually, you have to take care of updating it by yourself.
191193
192-
Download the latest `.tar.gz` file from [GitHub Releases](https://github.com/typisttech/composer-semver/releases/latest).
193-
Alternatively, you can download it via [`gh`](https://cli.github.com/):
194+
Download the latest `.tar.gz` file from [GitHub Releases](https://github.com/typisttech/composer-semver/releases/latest), or via [`gh`](https://cli.github.com/):
194195
```sh
195196
# Both Darwin (macOS) and Linux operating systems are available.
196197
# Both arm64 (aarch64) and amd64 (x86_64) architectures are available.
197198
gh release download --repo 'typisttech/composer-semver' --pattern 'composer-semver_Darwin_arm64.tar.gz'
198199
```
199200

200-
Then, **optionally**, verify the `.tar.gz` file:
201+
**Optionally**, verify the `.tar.gz` file:
201202
```sh
202203
gh attestation verify --repo 'typisttech/composer-semver' 'composer-semver_Darwin_arm64.tar.gz'
203204
```

0 commit comments

Comments
 (0)