Manual installation on Linux
Installing the Bicep CLI on Linux is a bit simpler. For regular distributions, use the following script to get it installed:
# Fetch the latest Bicep CLI binary curl -Lo bicep https://github.com/Azure/bicep/releases/latest/download/bicep-linux-x64 # Mark it as executable chmod +x ./bicep # Add bicep to your PATH (requires admin) sudo mv ./bicep /usr/local/bin/bicep # Verify you can now access the 'bicep' command bicep --help # Done!
However, if you have a lightweight distribution such as Alpine, use bicep-linux-musl-x64
instead of bicep-linux-x64
in the preceding script.