跳到正文

Before You Begin ​

Before we get started using Pulumi, let's run through a few quick steps to ensure our environment is setup correctly.

Install Pulumi ​

Install Pulumi on macOS through Homebrew:

$ brew install pulumi

For alternative installation instructions (e.g. script-based installation, binaries, etc.) or troubleshooting, see Download and Install.

Next, we'll install the required language runtime.

Install Language Runtime ​

Choose Your Language ​

Install Node.js.

Next, we'll configure Kubernetes.

Configure Kubernetes ​

Configure Kubernetes so the Pulumi CLI can connect to a Kubernetes cluster. If you have previously configured the kubectl CLI, kubectl, Pulumi will respect and use your configuration settings.

Next, we'll create a new project.

文档内容翻译自 Pulumi 官方文档。