2.0 KiB
2.0 KiB
title_tag, meta_desc, title, h1, no_on_this_page, meta_image, menu, aliases
title_tag | meta_desc | title | h1 | no_on_this_page | meta_image | menu | aliases | |||||||||||||
---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|
Pulumi CLI Overview | An overview of the Pulumi CLI and common commands used to deploy cloud applications. | Pulumi CLI | Pulumi CLI overview | true | /images/docs/meta-images/docs-meta.png |
|
|
Pulumi is controlled primarily using the command line interface (CLI). It works in conjunction with the Pulumi Cloud to deploy changes to your cloud apps and infrastructure. It keeps a history of who updated what in your team and when. This CLI has been designed for great inner loop productivity, in addition to continuous integration and delivery scenarios.
Installation
The Pulumi CLI is open source and free to use:
Common Commands
The most common commands in the CLI that you'll be using are as follows:
pulumi new
: creates a new project using a templatepulumi stack
: manage your stacks (at least one is required to perform an update)pulumi config
: configure variables such as keys, regions, and so onpulumi up
: preview and deploy changes to your program and/or infrastructurepulumi preview
: preview your changes explicitly before deployingpulumi destroy
: destroy your program and its infrastructure when you're done
Complete Reference
Below is the complete documentation for all available commands:
{{< pulumi-command >}}
Environment Variables
For a list of environment variables that you can use to work with the Pulumi CLI, see Environment Variables.