Some customers may have a requirement from their security team to automate the download of gemfire management console jar.
This article describes a way to do this using pivnet cli. The example shown is for the gemfire management console jar, but can be used for other jars and versions.
Note that when GemFire 10.2.0 is released, it will include GemFire Management Console extension within the GemFire .tgz
# Prerequisites:
1. Login to https://support.broadcom.com/ and select My Dashboard.
2. Under Quick Links on the right, select Tanzu API Token then click Request New Refresh Token.
3. Install pivnet-cli (see https://github.com/pivotal-cf/pivnet-cli)
# Pivnet cli commands:
4. pivnet login --api-token='<the api token from step 2>'
5. pivnet accept-eula -p gemfire-management-console -r 1.4.0
6. pivnet download-product-files -p gemfire-management-console -r 1.4.0 -i $(pivnet product-files -p gemfire-management-console -r 1.4.0 | awk '/jar/{print $2}')
# Expected Output:
Downloading 'gemfire-management-console-1.4.0.jar' to 'gemfire-management-console-1.4.0.jar'
112.99 MiB / 112.99 MiB [==========================================] 100.00% 6s
2025/09/04 12:05:23 Verifying SHA256
2025/09/04 12:05:23 Successfully verified SHA256
2025/09/04 12:05:23 Verifying MD5
2025/09/04 12:05:23 Successfully verified MD5
Note: The manual steps to download and install are documented for gemfire core libraries and gemfire management console.