How do I fix permission issues preventing VS Code extension installation?

Question

Grade: Education Subject: Support
How do I fix permission issues preventing VS Code extension installation?
Asked by:
73 Viewed 73 Answers

Answer (73)

Best Answer
(331)
On Windows, try running VS Code as an administrator. On macOS and Linux, ensure your user account has write permissions to the VS Code extensions directory (usually located in your user profile). You might need to use `chmod` on Linux/macOS to grant the necessary permissions. Avoid installing VS Code in system protected folders.