To install PowerShell 7 for LazyMagic: Download PowerShell 7 from Microsoft, open it as administrator, check execution policy with Get-ExecutionPolicy
, and set it to RemoteSigned with Set-ExecutionPolicy RemoteSigned
if needed.
PowerShell 7 is Microsoft's cross-platform command-line shell and scripting language. LazyMagic requires PowerShell 7 for its deployment automation and AWS integration scripts.
Download and install PowerShell 7 from Microsoft's official documentation:
LazyMagic requires the ability to run PowerShell modules. Follow these steps to configure the execution policy:
Run this command to check your current execution policy:
Get-ExecutionPolicy
If the policy is not RemoteSigned or Unrestricted, run:
Set-ExecutionPolicy RemoteSigned
This allows locally-created scripts to run while requiring downloaded scripts to be signed.
To verify PowerShell 7 is properly installed and configured:
$PSVersionTable.PSVersion
Get-ExecutionPolicy
After successfully installing PowerShell 7, proceed to install the Git CLI in the next step of the LazyMagic setup process.