MdRez
MdRez

Reputation: 11

Unable to install VS Code for Mac

I have downloaded VS Code for Mac, but I'm unable to install it on my MacBook. I get the following error:

"Visual Studio Code - Insiders" can't be opened because Apple cannot check it for malicious software.

Here is a sreen shot of the full error message:

Startup Error Message

How can I get VS Code to install and run?

Upvotes: 1

Views: 2568

Answers (1)

Toner
Toner

Reputation: 65

The problem is caused by macOS requiring apps to be notarized by Apple. The best way around this problem is to simply right-click on the app and select Open. If this doesnt work, first move the app to the Applications folder. Then open Terminal and paste and execute the following command:

xattr -d com.apple.quarantine /Applications/Visual\ Studio\ Code.app

This should remove the quarantine on the app and allow you to run it.

Upvotes: 2

Related Questions