pulumi
v3.253.0
Published
Pulumi Infrastructure as Code CLI
Readme
pulumi
Lazily install the Pulumi CLI via npx.
npx pulumi upNote: This is NOT the Pulumi SDK. If you're writing a Pulumi program you want
@pulumi/pulumiinstead. See the language SDK docs for all supported runtimes.
How it works
On first use, the package downloads the Pulumi CLI binary for your platform from
get.pulumi.com and caches it under ~/.pulumi/versions/.
Subsequent invocations use the cached binary directly.
Version pinning
The npm package version matches the Pulumi CLI version exactly. Pin to a specific release by specifying the version:
npx [email protected] upCache location
Binaries are cached at ~/.pulumi/versions/<version>/bin/, shared with the
Automation API so
both never download the same version twice. Set PULUMI_HOME to use a different
base directory:
PULUMI_HOME=/path/to/pulumi npx pulumi upTo clear the cache:
rm -rf ~/.pulumi/versions