npm i -g firebase-tools leads to …firebase.ps1 cannot be loaded because running scripts is disabled on this system
The error is due to Windows blocking access to run the firebase.ps1 powershell scripts. You can try the below commands to solve the issue,