Skip to content

Commit e96b0c5

Browse files
authored
README.md: Update installation instructions (#5)
1 parent 396bf16 commit e96b0c5

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
@@ -178,25 +178,27 @@ brew tap typisttech/tap
178178
brew install typisttech/composer-semver
179179
```
180180

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

183183
```sh
184-
# TODO!
184+
curl -1sLf 'https://dl.cloudsmith.io/public/typisttech/oss/setup.deb.sh' | sudo -E bash
185+
sudo apt-get install composer-version
185186
```
186187

188+
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).
189+
187190
### Manual `.deb` (Debian based distributions, for example: Ubuntu)
188191

189192
> [!WARNING]
190193
> If you install the `.deb` file manually, you have to take care of updating it by yourself.
191194
192-
Download the latest `.deb` file from [GitHub Releases](https://github.com/typisttech/composer-semver/releases/latest).
193-
Alternatively, you can download it via [`gh`](https://cli.github.com/):
195+
Download the latest `.deb` file from [GitHub Releases](https://github.com/typisttech/composer-semver/releases/latest), or via [`gh`](https://cli.github.com/):
194196
```sh
195197
# Both arm64 (aarch64) and amd64 (x86_64) architectures are available.
196198
gh release download --repo 'typisttech/composer-semver' --pattern 'composer-semver_Linux_arm64.deb'
197199
```
198200

199-
Then, **optionally**, verify the `.deb` file:
201+
**Optionally**, verify the `.deb` file:
200202
```sh
201203
gh attestation verify --repo 'typisttech/composer-semver' 'composer-semver_Linux_arm64.deb'
202204
```
@@ -211,15 +213,14 @@ sudo dpkg -i composer-semver_Linux_arm64.deb
211213
> [!WARNING]
212214
> If you install the binary manually, you have to take care of updating it by yourself.
213215
214-
Download the latest `.tar.gz` file from [GitHub Releases](https://github.com/typisttech/composer-semver/releases/latest).
215-
Alternatively, you can download it via [`gh`](https://cli.github.com/):
216+
Download the latest `.tar.gz` file from [GitHub Releases](https://github.com/typisttech/composer-semver/releases/latest), or via [`gh`](https://cli.github.com/):
216217
```sh
217218
# Both Darwin (macOS) and Linux operating systems are available.
218219
# Both arm64 (aarch64) and amd64 (x86_64) architectures are available.
219220
gh release download --repo 'typisttech/composer-semver' --pattern 'composer-semver_Darwin_arm64.tar.gz'
220221
```
221222

222-
Then, **optionally**, verify the `.tar.gz` file:
223+
**Optionally**, verify the `.tar.gz` file:
223224
```sh
224225
gh attestation verify --repo 'typisttech/composer-semver' 'composer-semver_Darwin_arm64.tar.gz'
225226
```

0 commit comments

Comments
 (0)