title: Firebase script not signed - Powershell
body: <p>I'm setting up a new project with Firebase and after running the command <code>firebase init functions</code>, I get the error below. </p>
  
  <pre><code>firebase : File C:\Users\fudge\AppData\Roaming\npm\firebase.ps1 cannot be loaded. The file C:\Users\fudge\AppData\Roaming\npm\firebase.ps1 is not digitally signed. 
  You cannot run this script on the current system. For more information about running scripts and setting execution policy, see about_Execution_Policies at 
  https:/go.microsoft.com/fwlink/?LinkID=135170.
  At line:1 char:1
  + firebase init functions
  + ~~~~~~~~
      + CategoryInfo          : SecurityError: (:) [], PSSecurityException
      + FullyQualifiedErrorId : UnauthorizedAccess
  </code></pre>
  
  <p>I know that I can run </p>
  
  <pre><code>Set-ExecutionPolicy -ExecutionPolicy Unrestricted
  </code></pre>
  
  <p>to allow it to run, but that seems dangerous as I imagine I would also allow malicious scripts to run if my PC ever got any. Is there any reason why the Firebase package isn't digitally signed and is there anyway to use <code>firebase</code> without changing the Execution Policy?</p>
  
  <p>Before the init command I only used these three commands, using Node v12.14.0:</p>
  
  <pre><code>npm init
  npm install firebase-functions@latest firebase-admin@latest --save
  npm install -g firebase-tools
  </code></pre>