Skip to content

Visual Studio Code brew Install Now Adds code to Path By Default #340

Description

@machale

I'm Submitting a ...

[x] Bug report
[ ] Tool/language/etc documentation request

Bug Location

https://sourabhbajaj.com/mac-setup/VisualStudioCode/

Tool/Language/etc

NA

Other Information

Minor issue. It appears the current brew installation of Visual Studio Code (as of this writing, v 1.61.1) already puts the code command in the path by default. It puts it at /usr/local/bin/code.

% ls -l /usr/local/bin/code
lrwxr-xr-x  1 xxxxx  xxxxx  68 Oct 15 00:48 /usr/local/bin/code -> /Applications/Visual Studio Code.app/Contents/Resources/app/bin/code

So you can remove the macOS integration section on the Visual Studio Code page. Or at least remove the first two lines and just retain the two bullets.

Thanks.

Activity

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Projects

    No projects

      Milestone

      No milestone

      Relationships

      None yet

      Development

      No branches or pull requests

      Issue actions