“code .” Not working in Command Line for Visual Studio Code on OSX/Mac

前端 未结 25 2357
日久生厌
日久生厌 2020-12-12 09:13

The command \"code .\" doesn\'t work in this manual?

All the other steps before that worked. How can I call the Visual Studio Code in OSX terminal?

         


        
25条回答
  •  抹茶落季
    2020-12-12 09:45

    For Mac OSX: There is a way to install Visual Studio Code through Brew-Cask.

    1. First, install 'Homebrew' from here.
    2. Now run following command and it will install latest Visual Studio Code on your Mac.

      $> brew cask install visual-studio-code

    Above command should install Visual Studio Code and also set up the command-line calling of Visual Studio Code.

    If above steps don't work then you can do it manually. By following Microsoft Visual Studio Code documentation given here.

提交回复
热议问题