# About installing Angular in Vscode

**URL:** <https://forum.codewithmosh.com/t/about-installing-angular-in-vscode/22113>\
**Category:** Uncategorized\
**Created:** [August 20, 2023, 8:38pm UTC](https://forum.codewithmosh.com/t/about-installing-angular-in-vscode/22113 "2023-08-20T20:38:43Z")\
**Posts on this page:** 2\
**Page:** 1

<div class="post-metadata">

**Author:** ![lance](https://avatars.discourse-cdn.com/v4/letter/l/7ab992/32.png) [@lance](https://forum.codewithmosh.com/u/lance)\
**Post date:** [August 20, 2023, 8:38pm UTC](https://forum.codewithmosh.com/t/about-installing-angular-in-vscode/22113/1 "2023-08-20T20:38:43Z")

</div>

Help me with this error

 ![Screenshot 2023-08-21 032222](https://us1.discourse-cdn.com/flex020/uploads/codewithmosh/original/2X/b/be7a82742b4923dc4c361d285b7ab854c8b864ab.png)

---

<div class="post-metadata">

**Author:** ![UniqueNospaceShort](https://sea2.discourse-cdn.com/flex020/user_avatar/forum.codewithmosh.com/uniquenospaceshort/32/1814_2.png) [@UniqueNospaceShort](https://forum.codewithmosh.com/u/UniqueNospaceShort)\
**Post date:** [August 20, 2023, 8:53pm UTC](https://forum.codewithmosh.com/t/about-installing-angular-in-vscode/22113/2 "2023-08-20T20:53:53Z")

</div>

Hi,

installing Angular is not particularly related to VS Code but it is at Windows level.  
You can do it because you installed node/npm at system level (mostly adding it to path environment variable).

VS Code just allows using an integrated terminal from withing the app.

The error you are seeing is there because by default, for security reasons, Windows disable executing Powershell scripts. You have to allow their execution.

I believe node/npm should provide a section about this part.

For instructions on how to install node on Windows, Microsoft provide their own doc

> **[Set up NodeJS on native Windows](https://learn.microsoft.com/en-us/windows/dev-environment/javascript/nodejs-on-windows)**
>
> A guide to help you get your Node.js development environment set up directly on Windows.

For just your problem, you have to change the execution policy for PowerShell scripts

> **[Set-ExecutionPolicy (Microsoft.PowerShell.Security) - PowerShell](https://learn.microsoft.com/en-us/powershell/module/microsoft.powershell.security/set-executionpolicy?view=powershell-7.3)**
>
> The Set-ExecutionPolicy cmdlet changes PowerShell execution policies for Windows computers. For more information, see about\_Execution\_Policies. Beginning in PowerShell 6.0 for non-Windows computers, the default execution policy is Unrestricted and...

Be sure that if you do that though, you are intentionally ignoring a security feature.  
If you don’t need to maintain a lot of PS scripts, you may pay a closer look to exemple 7:

> **[Set-ExecutionPolicy (Microsoft.PowerShell.Security) - PowerShell](https://learn.microsoft.com/en-us/powershell/module/microsoft.powershell.security/set-executionpolicy?view=powershell-7.3#example-7-unblock-a-script-to-run-it-without-changing-the-execution-policy)**
>
> The Set-ExecutionPolicy cmdlet changes PowerShell execution policies for Windows computers. For more information, see about\_Execution\_Policies. Beginning in PowerShell 6.0 for non-Windows computers, the default execution policy is Unrestricted and...

Good Luck.

Hope this helps.

PS: Be sure to use Admin terminal for that operation.
