Forrest logo
back to the pulumi tool

pulumi:tldr:8a2aa

pulumi: Create a new project using a template.
$ pulumi new
try on your machine

The command "pulumi new" is used in the Pulumi infrastructure-as-code (IaC) tool to create a new project or stack from a template.

When you run "pulumi new", it prompts you to select a programming language and a template to use for creating your project. Pulumi supports several programming languages, such as JavaScript, TypeScript, Python, and Go.

After selecting the language, Pulumi will show a list of available templates specific to that language. These templates provide a starting point for defining and deploying your infrastructure resources using Pulumi.

Once you choose a template, Pulumi will create a new project or stack in the current directory, based on the selected template. It sets up the necessary files and folder structure required for the chosen programming language, along with some sample code to help you get started.

Ultimately, "pulumi new" simplifies the process of initializing a new Pulumi project or stack by providing a convenient way to choose a language and template, reducing setup time and enabling you to start defining your infrastructure resources quickly.

This explanation was created by an AI. In most cases those are correct. But please always be careful and never run a command you are not sure if it is safe.
back to the pulumi tool