Skip to content

Commit 5980d0e

Browse files
committed
Editing
Signed-off-by: Ian Maddaus <ian.maddaus@progress.com>
1 parent d82594c commit 5980d0e

1 file changed

Lines changed: 51 additions & 55 deletions

File tree

content/install/_index.md

Lines changed: 51 additions & 55 deletions
Original file line numberDiff line numberDiff line change
@@ -9,10 +9,10 @@ draft = false
99
weight = 10
1010
+++
1111

12-
<!-- cSpell:ignore dpkg deb rpm Uvh msiexec qn amd el8 x86 chefdownload eol -->
12+
<!-- cSpell:ignore -->
1313

14-
The Chef InSpec installers provide an efficient way to install Chef InSpec 7 on Windows, Debian, or RPM-based Linux distributions.
15-
You can download and install the pre-built `.msi`, `.deb`, or `.rpm` packages using your existing package management tools, simplifying the deployment process for compliance automation.
14+
Chef InSpec 7 installers are available for Windows, Debian, and RPM-based Linux distributions.
15+
You can download and install pre-built `.msi`, `.deb`, or `.rpm` packages using your existing package management tools.
1616

1717
## Supported platforms
1818

@@ -25,14 +25,10 @@ Chef InSpec is supported on the following platforms:
2525

2626
This installation process has the following prerequisites:
2727

28-
- Chef Automate isn't installed on the target system.
29-
- Chef Workstation isn't installed on the target system.
30-
- On Windows systems, `tar` is installed on the target system.
31-
- On Debian-based systems, the `dpkg` package manager is installed on the target system.
32-
- On RPM-based systems, the `rpm` and either the `dnf` or `yum` package managers are installed on the target system.
33-
34-
For Amazon Linux 2, use the `rpm` and `yum` package managers.
35-
28+
- Chef InSpec, Chef Automate, and Chef Workstation aren't installed on the target system.
29+
- On Windows systems, `tar` is installed.
30+
- On Debian-based systems, the `dpkg` package manager is installed.
31+
- On RPM-based systems, `rpm` and either `dnf` or `yum` are installed. For Amazon Linux 2, use `rpm` and `yum`.
3632
- You have a valid Progress Chef license key.
3733
- The target system is connected to the internet.
3834

@@ -42,61 +38,65 @@ If an older version of Chef InSpec is already installed, uninstall it before ins
4238

4339
### Uninstall on Debian-based distributions
4440

45-
```sh
46-
sudo apt-get remove inspec
47-
```
41+
1. Remove the package:
4842

49-
Verify that the package has been removed:
43+
```sh
44+
sudo apt-get remove inspec
45+
```
5046

51-
```sh
52-
dpkg -l inspec
53-
```
47+
1. Verify that the package has been removed:
48+
49+
```sh
50+
dpkg -l inspec
51+
```
5452

55-
The command returns no output if the package is removed successfully.
53+
The command returns no output if the package is removed successfully.
5654

5755
### Uninstall on RPM-based distributions
5856

59-
Using `dnf`:
57+
1. Remove the package.
6058

61-
```sh
62-
sudo dnf remove inspec
63-
```
59+
Using `dnf`:
6460

65-
For Amazon Linux 2 or systems using `yum`:
61+
```sh
62+
sudo dnf remove inspec
63+
```
6664

67-
```sh
68-
sudo yum remove inspec
69-
```
65+
For Amazon Linux 2 or systems using `yum`:
7066

71-
Verify that the package has been removed:
67+
```sh
68+
sudo yum remove inspec
69+
```
7270

73-
```sh
74-
rpm -qa inspec
75-
```
71+
1. Verify that the package has been removed:
7672

77-
The command returns no output if the package is removed successfully.
73+
```sh
74+
rpm -qa inspec
75+
```
76+
77+
The command returns no output if the package is removed successfully.
7878

7979
### Uninstall on Windows
8080

8181
To uninstall using the Windows UI:
8282

8383
1. Open **Settings > Apps > Installed apps**.
84-
2. Search for **Chef InSpec**.
85-
3. Select **Uninstall**, then follow the on-screen prompts.
84+
1. Search for **Chef InSpec**.
85+
1. Select **Uninstall**, then follow the on-screen prompts.
8686

8787
To uninstall from the command line, run the following command in an elevated PowerShell or Command Prompt session:
8888

8989
```powershell
90-
msiexec /x inspec-enterprise-<version>-x64.msi /qn
90+
msiexec /x inspec-enterprise-<VERSION>-x64.msi /qn
9191
```
9292

93-
Replace `<version>` with the version number of the currently installed package.
93+
Replace `<VERSION>` with the version number of the currently installed package.
9494

9595
## Install Chef InSpec
9696

9797
To install Chef InSpec, follow these steps:
9898

99-
### Step 1: Download the Chef InSpec installer
99+
### Download the Chef InSpec installer
100100

101101
Download the installer package from the [Chef downloads page](https://www.chef.io/downloads).
102102
Select **Chef InSpec**, then choose the target platform and version.
@@ -140,17 +140,17 @@ Run the following command in an elevated PowerShell session:
140140
Invoke-WebRequest -Uri "https://chefdownload-commercial.chef.io/stable/inspec/download?eol=false&license_id=<LICENSE_ID>&m=x86_64&p=windows&pm=msi&v=<VERSION>" -OutFile "inspec-enterprise-<VERSION>-windows.msi"
141141
```
142142

143-
### Step 2: Install the package
143+
### Install the package
144144

145145
Go to the directory containing the downloaded installer and run the appropriate install command for your platform.
146146

147147
#### Install on Debian-based distributions
148148

149149
```sh
150-
sudo dpkg -i inspec-enterprise-<version>_amd64.deb
150+
sudo dpkg -i inspec-enterprise-<VERSION>_amd64.deb
151151
```
152152

153-
Replace `<version>` with the version number of the downloaded package, for example:
153+
Replace `<VERSION>` with the version number of the downloaded package, for example:
154154

155155
```sh
156156
sudo dpkg -i inspec-enterprise-7.6.0-1_amd64.deb
@@ -161,55 +161,51 @@ sudo dpkg -i inspec-enterprise-7.6.0-1_amd64.deb
161161
Using `rpm`:
162162

163163
```sh
164-
sudo rpm -Uvh inspec-enterprise-<version>.x86_64.rpm
164+
sudo rpm -Uvh inspec-enterprise-<VERSION>.x86_64.rpm
165165
```
166166

167167
Using `dnf`:
168168

169169
```sh
170-
sudo dnf install ./inspec-enterprise-<version>.x86_64.rpm
170+
sudo dnf install ./inspec-enterprise-<VERSION>.x86_64.rpm
171171
```
172172

173173
For Amazon Linux 2 or systems using `yum`:
174174

175175
```sh
176-
sudo yum install ./inspec-enterprise-<version>.x86_64.rpm
176+
sudo yum install ./inspec-enterprise-<VERSION>.x86_64.rpm
177177
```
178178

179-
Replace `<version>` with the version number of the downloaded package, for example `inspec-enterprise-7.6.0-1.el8.x86_64.rpm`.
179+
Replace `<VERSION>` with the version number of the downloaded package, for example `inspec-enterprise-7.6.0-1.el8.x86_64.rpm`.
180180

181181
#### Install on Windows
182182

183183
Run the following command in an elevated PowerShell or Command Prompt session:
184184

185185
```powershell
186-
msiexec /i inspec-enterprise-<version>-x64.msi /qn
186+
msiexec /i inspec-enterprise-<VERSION>-x64.msi /qn
187187
```
188188

189-
Replace `<version>` with the version number of the downloaded package, for example `inspec-enterprise-7.6.0-x64.msi`.
189+
Replace `<VERSION>` with the version number of the downloaded package, for example `inspec-enterprise-7.6.0-x64.msi`.
190190

191191
Alternatively, double-click the `.msi` file and follow the on-screen installation wizard.
192192

193-
### Step 3: Verify the installation
193+
### Verify the installation
194194

195195
```sh
196196
inspec version
197197
```
198198

199-
The output displays the installed version of Chef InSpec, for example:
200-
201-
```sh
202-
7.6.0
203-
```
199+
The output displays the installed version of Chef InSpec.
204200

205-
### Upgrade Chef InSpec
201+
## Upgrade Chef InSpec
206202

207203
To upgrade Chef InSpec to a newer version:
208204

209205
1. [Uninstall the current version](#uninstall-an-older-version-of-chef-inspec) using the steps for your platform.
210-
2. [Download and install the new version](#install-chef-inspec) using the steps for your platform.
206+
1. [Download and install the new version](#install-chef-inspec) using the steps for your platform.
211207

212-
### Uninstall Chef InSpec
208+
## Uninstall Chef InSpec
213209

214210
To remove Chef InSpec from your system, follow the steps in [Uninstall an older version of Chef InSpec](#uninstall-an-older-version-of-chef-inspec).
215211

0 commit comments

Comments
 (0)