Install PostQ Code Scanner¶
PostQ distributions are self-contained release artifacts. Install only the interfaces needed by the target users; every scanning interface delegates to the same scanner-service behavior.
Optional guided prerequisite installation¶
The prerequisite artifact includes an interactive helper. It displays numbered choices and either uses a dependable platform package manager or opens the tool's official installation guide.
.\postq-code-scanner-prereq-install.ps1
bash ./postq-code-scanner-prereq-install.sh
Re-run the prerequisite checker after using the helper. Opening a download page is not proof that a dependency is installed or available to the scan account.
Install the native CLI¶
- Extract
postq-code-scanner-cli-<version>.zipto an approved application directory. - Keep the distribution's
bin,lib, and legal files together. - Add
bintoPATHonly if your organization permits it. - Run the help command from Quick Start to confirm launcher access.
If OpenGrep is not on PATH, set POSTQ_OPENGREP_PATH or pass --opengrep-path for each scan.
If Java is not on PATH, set POSTQ_JAVA_PATH or pass --java-path for each scan.
Install the VS Code extension¶
- Install a supported VS Code release.
- Open Extensions.
- Select the Extensions menu, then Install from VSIX....
- Select
postq-code-scanner-vscode-<version>.vsix. - Reload VS Code when prompted.
- Open the PostQ Crypto Readiness Activity Bar view.
Command-line installation is also available:
code --install-extension ./postq-code-scanner-vscode-<version>.vsix
Install the Eclipse plugin¶
The current postq-code-scanner-eclipse-plugin-<version>.zip is an Eclipse PDE project package,
not a p2 update site. Follow the README supplied inside the archive to import or install it in the
approved Eclipse or Spring Tools environment. Then open:
Window > Perspective > Open Perspective > Other > PostQ Crypto Readiness
Install the container image¶
Load the platform-specific OCI archive:
docker load --input postq-code-scanner-cli-oci-image-<version>.tar
podman load --input postq-code-scanner-cli-oci-image-<version>.tar
Use linux/amd64 for x86 hosts and linux/arm64 for ARM hosts. Docker Desktop and Podman machine
run the Linux image through their Linux VM on Windows and macOS.
Install the Report Viewer¶
Extract postq-code-scanner-report-viewer-<version>.zip and open index.html in a supported
desktop browser. No service, Java runtime, OpenGrep installation, or scanner license is required to
read existing reports.
Upgrade or replace an installation¶
- Retain report folders that must remain available for comparison or audit.
- Read the new artifact's notices and release documentation.
- Run its matching prerequisite checker.
- Install the new artifact in a versioned location or replace the IDE package through the host's normal extension process.
- Validate license status and complete one representative scan before broad rollout.
Do not merge lib directories or legal bundles from different product versions.