Upgrade Chef InSpec
Upgrade Chef InSpec that was installed from a Habitat package
To upgrade Chef InSpec to a newer version in the same channel, re-run the install command with --force:
sudo hab pkg install chef/inspec --channel base-2025 --binlink --force
Upgrade Chef InSpec that was installed from a platform-native package
To upgrade Chef InSpec to a newer version:
- Uninstall the current version using the steps for your platform.
- Download and install the new version.