Visual Studio Code: Difference between revisions

From NixOS Wiki
imported>Kingvagabond
mNo edit summary
imported>Samueldr
m (Adds note documenting unfree-ness)
Line 1: Line 1:
'''How To Install Microsoft's Visual Studio Code'''
== Installing Microsoft's Visual Studio Code ==


== Note: this method does not work any more in NixOS 18.09 ==
{{note|Visual Studio Code is [[FAQ/unfree|unfree]], its license prohibits distribution. See the [[FAQ/unfree]] page to install unfree software.}}


Because it is NixOS, you don't have to be root in order to be able to install stuff. As a normal user, do:
Because it is NixOS, you don't have to be root in order to be able to install stuff. As a normal user, do:

Revision as of 18:27, 21 January 2019

Installing Microsoft's Visual Studio Code

Note: Visual Studio Code is unfree, its license prohibits distribution. See the FAQ/unfree page to install unfree software.

Because it is NixOS, you don't have to be root in order to be able to install stuff. As a normal user, do:

$ nix-env -iA nixos.vscode

And to open or launch the IDE, do:

$ code

As a normal user, you might be curious what stuff you have installed. To find out, do:

$ nix-env -q

Also, if you want to uninstall stuff that you installed there as a normal user, do:

$ nix-env --uninstall package-name-here

Replace the package-name-here with whatever package returned by 'nix-env -q'.