Your state tool installation might fail with a message like this if your system is configured not to run powershell scripts downloaded from the internet.
File C:\Users\martin\Projects\cli\installers\install.ps1 cannot be loaded because running scripts is disabled on this system. For more information, see about_Execution_Policies at https:/go.microsoft.com/fwlink/?LinkID=135170. At line:1 char:1 + .\install.ps1 + ~~~~~~~~~~~~~ + CategoryInfo : SecurityError: (:) , ParentContainsErrorRecordException + FullyQualifiedErrorId : UnauthorizedAccessindent preformatted text by 4 spaces
You can circumvent this problem by temporarily allowing powershell scripts in your powershell session:
Set-ExecutionPolicy Unrestricted -Scope Process
Close the powershell session after you are done, or revert the change by
Set-ExecutionPolicy Undefined -Scope Process