FIX: You are running the system-wide installation of Code Visual Studio by Bas Wijdenes

Make sure you’re running the Code version you expect!

I opened Visual Studio Code and I was surprised with the following error message:

You are running the system-wide installation of Code, while having the user-wide installation as well. Make sure you’re running the code version you expect.
You are running the system-wide installation of Code, while having the user-wide installation as well. Make sure you’re running the code version you expect.

Visual Studio Code had been updated the day before, so maybe that’s why?
I have no idea what the difference is between the user-wide and system-wide version. One of the two will be newer.


The fix is easier than you think

The solution was easier than I thought.
If Visual Studio Code indicates that I have installed 2 distributions, then I will be able to find something in Uninstall or Change a program, right?
And indeed, there were two installations.


System-wide or used-wide?

Okay we are so far that we know that there are two installations that you can remove, but do you go for the system-wide, or the user-wide version? Frankly, I do not know that.
I have chosen to delete the oldest version.

You are running the system-wide installation of Code, while having the user-wide installation as well. Make sure you’re running the code version you expect.
You are running the system-wide installation of Code, while having the user-wide installation as well. Make sure you’re running the code version you expect.

After I removed the System-wide version, the message did not come back after starting Visual Studio Code.

You are running the system-wide installation of Code, while having the user-wide installation as well. Make sure you’re running the code version you expect.
You are running the system-wide installation of Code, while having the user-wide installation as well. Make sure you’re running the code version you expect.

Summary

Do you use Visual Studio Code for PowerShell? Then it is wise to use Change Control in VSC. View this blog post for Change Control in Visual Studio Code.


The complete error message

Below is the full error message for someone looking for another part of the error message.

“You are running the system-wide installation of Code, while having the user-wide distribution installed as well. Make sure you’re running the Code version you expect.”

Published by

Bas Wijdenes

My name is Bas Wijdenes and I work as a PowerShell DevOps Engineer. In my spare time I write about interesting stuff that I encounter during my work.

One thought on “FIX: You are running the system-wide installation of Code Visual Studio by Bas Wijdenes”

Leave a Reply

Your email address will not be published. Required fields are marked *