Vscodium: Mac installation: adding code-oss in the path

Created on 19 Sep 2018  路  2Comments  路  Source: VSCodium/vscodium

VScode installs code in the path, so that it's very convenient to open it from any directory:

~/in-my-project $ code .

opens VSCode for in-my-project

ls -la /usr/local/bin/code
lrwxr-xr-x 1 <user> <group> 68 May 17  2017 /usr/local/bin/code -> '/Applications/Visual Studio Code.app/Contents/Resources/app/bin/code'

It'd be awesome if the brew installation would do the same.

Most helpful comment

@yanns AFAIK, Visual Studio Code doesn't add code to the path by default. You have to go to the command palette and choose Shell command: Install 'code' command in PATH. In VSCodium you have the same option

image

This allows ~/in-my-project $ vscodium .

If you want code, you can make an alias code=vscodium in your shell profile.

All 2 comments

@yanns AFAIK, Visual Studio Code doesn't add code to the path by default. You have to go to the command palette and choose Shell command: Install 'code' command in PATH. In VSCodium you have the same option

image

This allows ~/in-my-project $ vscodium .

If you want code, you can make an alias code=vscodium in your shell profile.

Thx a lot for the precision!

Was this page helpful?
0 / 5 - 0 ratings

Related issues

gabeeg picture gabeeg  路  19Comments

JL2210 picture JL2210  路  55Comments

jannik-mohemian picture jannik-mohemian  路  17Comments

in-in picture in-in  路  20Comments

dmfed picture dmfed  路  21Comments