az bicep restore
Restore external modules for a bicep file. Azure CLI reference
2 options Its page in the Azure CLI reference
Options
--file, -fThe path to the Bicep file to restore external modules for.--forceAllows overwriting the cached external modules.