2023-05-15 15:25:28 -07:00
|
|
|
---
|
|
|
|
title_tag: "Pulumi CLI commands"
|
|
|
|
meta_desc: The Pulumi CLI offers many commands to execute from your command-line.
|
|
|
|
title: Commands
|
|
|
|
h1: Pulumi CLI commands
|
2023-06-08 16:15:52 -07:00
|
|
|
meta_image: /images/docs/meta-images/docs-meta.png
|
2023-05-15 15:25:28 -07:00
|
|
|
menu:
|
|
|
|
cli:
|
|
|
|
weight: 1
|
|
|
|
identifier: commands
|
|
|
|
---
|
|
|
|
|
|
|
|
## Common Commands
|
|
|
|
|
|
|
|
The most common commands in the CLI that you'll be using are as follows:
|
|
|
|
|
2023-06-12 10:03:41 -07:00
|
|
|
* [`pulumi new`](/docs/cli/commands/pulumi_new/): creates a new project using a template
|
|
|
|
* [`pulumi stack`](/docs/cli/commands/pulumi_stack/): manage your stacks (at least one is required to perform an update)
|
|
|
|
* [`pulumi config`](/docs/cli/commands/pulumi_config/): configure variables such as keys, regions, and so on
|
|
|
|
* [`pulumi up`](/docs/cli/commands/pulumi_up/): preview and deploy changes to your program and/or infrastructure
|
|
|
|
* [`pulumi preview`](/docs/cli/commands/pulumi_preview/): preview your changes explicitly before deploying
|
|
|
|
* [`pulumi destroy`](/docs/cli/commands/pulumi_destroy/): destroy your program and its infrastructure when you're done
|
2023-05-15 15:25:28 -07:00
|
|
|
|
|
|
|
## Complete Reference
|
|
|
|
|
|
|
|
Below is the complete documentation for all available commands:
|
|
|
|
|
|
|
|
{{< pulumi-command >}}
|