Skip to content

Commit

Permalink
Update install instructions with unversioned URLs
Browse files Browse the repository at this point in the history
  • Loading branch information
tashian committed Sep 28, 2023
1 parent 90c48c1 commit 7390613
Show file tree
Hide file tree
Showing 2 changed files with 29 additions and 29 deletions.
36 changes: 18 additions & 18 deletions step-ca/installation.mdx
Original file line number Diff line number Diff line change
Expand Up @@ -86,15 +86,15 @@ To uninstall, run `scoop uninstall`, then remove the configuration directory `$H
To install `step`, download and install the Debian package for your platform from our [latest release](https://github.com/smallstep/cli/releases/latest):

```shell
wget https://dl.smallstep.com/gh-release/cli/docs-ca-install/v0.24.2/step-cli_0.24.2_amd64.deb
sudo dpkg -i step-cli_0.24.2_amd64.deb
wget https://dl.smallstep.com/cli/docs-ca-install/latest/step-cli_amd64.deb
sudo dpkg -i step-cli_amd64.deb
```

To install `step-ca`, download and install the Debian package for your platform from our [latest release](https://github.com/smallstep/certificates/releases/latest):

```shell
wget https://dl.smallstep.com/gh-release/certificates/docs-ca-install/v0.24.2/step-ca_0.24.2_amd64.deb
sudo dpkg -i step-ca_0.24.2_amd64.deb
wget https://dl.smallstep.com/certificates/docs-ca-install/latest/step-ca_amd64.deb
sudo dpkg -i step-ca_amd64.deb
```

To configure `step-ca` as a daemon, see our [systemd configuration guide][systemd-setup].
Expand Down Expand Up @@ -124,15 +124,15 @@ Big shout out to the maintainers of these packages! We appreciate you.
To install `step`, download and install the RPM package for your platform from our [latest release](https://github.com/smallstep/cli/releases/latest):

```shell
wget https://dl.smallstep.com/gh-release/cli/docs-ca-install/v0.24.2/step-cli_0.24.2_amd64.rpm
sudo dnf install step-cli_0.24.2_amd64.rpm
wget https://dl.smallstep.com/cli/docs-ca-install/latest/step-cli_amd64.rpm
sudo rpm -i step-cli_amd64.rpm
```

To install `step-ca`, download and install the RPM package for your platform from our [latest release](https://github.com/smallstep/certificates/releases/latest):

```shell
wget https://dl.smallstep.com/gh-release/certificates/docs-ca-install/v0.24.2/step-ca_0.24.2_amd64.rpm
sudo dnf install step-ca_0.24.2_amd64.rpm
wget https://dl.smallstep.com/certificates/docs-ca-install/latest/step-ca_amd64.rpm
sudo rpm -i step-ca_amd64.rpm
```

To configure `step-ca` as a daemon, see our [systemd configuration guide][systemd-setup].
Expand Down Expand Up @@ -192,21 +192,21 @@ To download and install the `step` and `step-ca` binaries on an amd64 machine:
Download and install the Linux tarball from our [latest release](https://github.com/smallstep/cli/releases/latest):
```shell
curl -L https://dl.smallstep.com/gh-release/cli/docs-ca-install/v0.24.2/step_linux_0.24.2_amd64.tar.gz \
-o step.tar.gz
curl -L -o step.tar.gz https://dl.smallstep.com/cli/docs-ca-install/latest/step_linux_amd64.tar.gz
tar -xf step.tar.gz
sudo cp step_0.24.2/bin/step /usr/bin
cd step_*
sudo cp bin/step /usr/bin
```

2. Install `step-ca`.

Download and install the Linux tarball from our [latest release](https://github.com/smallstep/certificates/releases/latest):

```shell
curl -L https://dl.smallstep.com/gh-release/certificates/docs-ca-install/v0.24.2/step-ca_linux_0.24.2_amd64.tar.gz \
-o step-ca.tar.gz
curl -L -o step-ca.tar.gz https://dl.smallstep.com/certificates/docs-ca-install/latest/step-ca_linux_amd64.tar.gz
tar -xf step-ca.tar.gz
sudo cp step-ca_0.24.2/step-ca /usr/bin
cd step-ca_*
sudo cp step-ca /usr/bin
```

To configure `step-ca` as a daemon, see our [systemd configuration guide][systemd-setup].
Expand All @@ -225,11 +225,11 @@ To verify the signature of the `step-ca` binary:

```
cosign verify-blob \
--certificate step-ca_linux_0.24.2_amd64.tar.gz.pem \
--signature step-ca_linux_0.24.2_amd64.tar.gz.sig \
--certificate-identity-regexp "https://github\.com/smallstep/certificates/.*" \
--certificate step-ca_linux_amd64.tar.gz.pem \
--signature step-ca_linux_amd64.tar.gz.sig \
--certificate-identity-regexp "https://github\.com/smallstep/workflows/.*" \
--certificate-oidc-issuer https://token.actions.githubusercontent.com \
step-ca_linux_0.24.2_amd64.tar.gz
step-ca_linux_amd64.tar.gz
```

### Kubernetes
Expand Down
22 changes: 11 additions & 11 deletions step-cli/installation.mdx
Original file line number Diff line number Diff line change
Expand Up @@ -48,8 +48,8 @@ To uninstall, run `brew uninstall step` and remove the `$HOME/.step` configurati
Download and install the Debian package from our [latest release](https://github.com/smallstep/cli/releases/latest):

```shell
wget https://dl.smallstep.com/gh-release/cli/docs-cli-install/v0.24.4/step-cli_0.24.4_amd64.deb
sudo dpkg -i step-cli_0.24.4_amd64.deb
wget https://dl.smallstep.com/cli/docs-cli-install/latest/step-cli_amd64.deb
sudo dpkg -i step-cli_amd64.deb
```

To uninstall, run `sudo dpkg -r step-cli` and remove the `$HOME/.step` configuration directory.
Expand Down Expand Up @@ -80,8 +80,8 @@ Big shout out to the maintainers of these packages! We appreciate you.
Download and install the RPM package from our [latest release](https://github.com/smallstep/cli/releases/latest):

```shell
wget https://dl.smallstep.com/gh-release/cli/docs-ca-install/v0.24.4/step-cli_0.24.4_amd64.rpm
sudo rpm -i step-cli_0.24.4_amd64.rpm
wget https://dl.smallstep.com/cli/docs-cli-install/latest/step-cli_amd64.rpm
sudo rpm -i step-cli_amd64.rpm
```

To uninstall, run `sudo dnf remove step-cli` and remove the `$HOME/.step` configuration directory.
Expand Down Expand Up @@ -136,11 +136,11 @@ To verify the signature of the `step-ca` binary:

```
cosign verify-blob \
--certificate step_linux_0.24.4_amd64.tar.gz.pem \
--signature step_linux_0.24.4_amd64.tar.gz.sig \
--certificate-identity-regexp "https://github\.com/smallstep/cli/.*" \
--certificate step_linux_amd64.tar.gz.pem \
--signature step_linux_amd64.tar.gz.sig \
--certificate-identity-regexp "https://github\.com/smallstep/workflows/.*" \
--certificate-oidc-issuer https://token.actions.githubusercontent.com \
step_linux_0.24.4_amd64.tar.gz
step_linux_amd64.tar.gz
```

### Windows
Expand Down Expand Up @@ -176,9 +176,9 @@ Download the Windows binary from our [latest releases](https://github.com/smalls
Open PowerShell and run the following:

```shell
curl.exe -LO https://dl.smallstep.com/gh-release/cli/docs-cli-install/v0.24.4/step_windows_0.24.4_amd64.zip
Expand-Archive -LiteralPath .\step_windows_0.24.4_amd64.zip -DestinationPath .
step_0.24.4\bin\step.exe version
curl.exe -LO https://dl.smallstep.com/cli/docs-cli-install/latest/step_windows_amd64.zip
Expand-Archive -LiteralPath .\step_windows_amd64.zip -DestinationPath .
step_0.25.0\bin\step.exe version
```

Finally, move the `step.exe` binary wherever you'd like it to into a location in your user's `PATH`.
Expand Down

0 comments on commit 7390613

Please sign in to comment.