Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Update install instructions to use unversioned URLs #273

Merged
merged 3 commits into from
Nov 29, 2023
Merged
Show file tree
Hide file tree
Changes from 1 commit
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
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
tashian marked this conversation as resolved.
Show resolved Hide resolved
```

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