Azure Bicep is a Domain Specific Language (DSL) for sending Azure assets definitively. It expects to definitely work on the creating experience with a cleaner grammar, improved sort wellbeing, and better help for measured quality and code re-use. Bicep is a straightforward reflection over ARM and ARM formats, which implies whatever should be possible in an ARM Template should be possible in Bicep (outside of impermanent known restrictions). All asset types, apiVersions, and properties that are legitimate in an ARM layout are similarly substantial in Bicep on the very first moment.
In this post, We will install Azure Bicep on ubuntu 20.04 LTS
Step 1: Update and Upgrade the System
You need to update the current ubuntu repository and upgrade the default packages with your ubuntu machine by following the command.
$ sudo apt-get update && sudo apt-get upgrade -y
Step 2: Download the Biceps CLI Binary
You need to execute the given command to fetch the bicep cli binary.
$ curl -Lo bicep.bin https://github.com/Azure/bicep/releases/latest/download/bicep-linux-x64
Step 3: Update the Permission
You need to give executable permission on the downloaded bicep binary by uisng the given command.
$ chmod +x ./bicep.bin
Step 3: Binary configuration
Move the bicep binary with /usr/local/bin/bicep by using the given command.
$ sudo mv ./bicep.bin /usr/local/bin/bicep
Step 4: Verify the version
You can verify the bicep version by executing ‘bicep’ command on your ubuntu machine.
$ bicep --help
Reference taken from – https://github.com/Azure/bicep/