SecurityError in powershell while setting up freshworks CLI

Hi,

I am facing issue to install fdk.

i am using powershell admin , have installed nvm, node , then have run the command for installing CLI… but when i write fdk version or fdk create …getting the following message

3:35

fdk : File C:\Users\dedas\AppData\Roaming\npm\fdk.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
+ fdk version
+ ~~~
+ CategoryInfo : SecurityError: (:) [], PSSecurityException
+ FullyQualifiedErrorId : UnauthorizedAccess

Pls help.

Hi @deb_das,

Seems like this is due to powershell’s execution policy. Just wanted to know if you have already tried this ?

Set-ExecutionPolicy RemoteSigned -Scope CurrentUser
3 Likes

Thanks for the prompt help. It works now :grinning: :grinning:

2 Likes