For Windows, install a recent version, >=7.2. The PowerShell that ships with Windows is too old for these scripts.
For installation instructions for all platforms, see https://learn.microsoft.com/en-us/powershell/scripting/install/installing-powershell
The prerequisite 3rd party tools for your platform are defined in one of:
You can install the tools manually, or by running:
$> bin/prereq-install
PS> winbin\prereq-install
Running the above script requires one of the below installers:
Installer | Platform | Home |
---|---|---|
|
OS X |
|
|
Windows |
Install pivnet
from the Pivnet CLI project, either using a platform installer or downloading a release.
Ensure the file is executable and on your path. On Windows be sure to rename the file to pivnet.exe
.
After the CLI is installed, login to the Tanzu Network.
General course of events:
-
fetch TAP artifacts
-
install
tanzu
CLI -
run
tanzu
CLI
The default version is specified by the var $TapVersion
in the file etc/tap.ps1
.
To override the version, redefine $TapVersion
in the file etc/overrides.ps1
.
To override the version for a single command invocation, set the env var TT_TAP_VERSION
.