How To Get The Termial To Work On Mac For Visual Studio

To download Visual Studio for the Mac and learn more, head on over to Microsoft’s hub page here. Follow all our coverage of Microsoft’s Build conference here.

Active5 months ago

'code .' command doesn't work to open Visual Studio Code operator from mac terminal I cannot open Visual Studio Code Editor from command line just by typing 'code .' in terminal

How To Get Imessage To Work On Mac

JonathanDavidArndt
1,63712 gold badges28 silver badges41 bronze badges
San DiSan Di

3 Answers

Locate your bash profile with the command 'locate bash_profile'.That file is usually located in '/Users/user_name/.bash_profile'.Once you found the file, insert the following command.

After that , save the file and type the following command in the same directory.

Min Htet OoMin Htet Oo
  1. Launch VS Code
  2. Open View --> Command Palette
  3. Type shell command and

    find Shell Command: Install 'code' command in PATH command and install (for mac)

    find Allow Workspace Shell Configuration and install (for linux )

  4. Restart the terminal
  5. Go to your folder path and type code . in terminal.

Visual Code Studio will open with your current folder directory.

pyae phyo hlaingpyae phyo hlaing

Adding to Pyae's answer, if you're running the Insider's version of VS code, you will need to use code-insiders <command> in order to use the command line utilities.

This is easily solved by adding an alias in your bash profile if you don't want to type the full program name every time.

double-beepHow to get the terminal to work on mac for visual studio codeHow to get imessage to work on mac
3,1977 gold badges19 silver badges33 bronze badges
ALazenkaALazenka

How To Get Fortnite To Work On Mac

Not the answer you're looking for? Browse other questions tagged visual-studio or ask your own question.