tldr/pages/common/az-bicep.md

34 lines
612 B
Markdown
Raw Normal View History

2021-10-03 14:17:39 +01:00
# az bicep
> Bicep CLI command group.
> Part of `azure-cli`.
> More information: <https://learn.microsoft.com/cli/azure/bicep>.
2021-10-03 14:17:39 +01:00
- Install Bicep CLI:
`az bicep install`
- Build a Bicep file:
`az bicep build --file {{path/to/file.bicep}}`
- Attempt to decompile an ARM template file to a Bicep file:
`az bicep decompile --file {{path/to/template_file.json}}`
- Upgrade Bicep CLI to the latest version:
`az bicep upgrade`
- Display the installed version of Bicep CLI:
`az bicep version`
- List all available versions of Bicep CLI:
`az bicep list-versions`
- Uninstall Bicep CLI:
`az bicep uninstall`