1. Install Command Line Tools Mac Catalina Version
  2. How Do I Install Command Line Tools On A Mac
  3. Install Command Line Tool Mac
  4. Install Command Line Tools Mac Catalina Update

This page contains links to useful resources.

  • CLion This is the IDE we will be using in this course. You will need to create an account using your YCP email to receive a free license.

  • CamScanner This is a nice mobile scanner app to generate .pdf files.

Windows 10

Visual Studio 2019

Recently, I have upgraded mac to 10.15.1 and I got a weird issue with node-gyp while working on my node project. It started failing when I was doing npm install. The issue reported was regarding the xcode-select CLT. We usually avoid installing full xcode and install the CLT (Command Line Tools) using xcode-select -install command.

How to install Command Line Tools, CLT, and the Homebrew package manager on macOS Catalina.As a usage demo, I'll show you how to install the wget utility wit. From Mac OS X 10.9 onward, if Xcode is already installed in Mac OS X then Command Line Tools becomes installed as well (you can check this by trying to run gcc or make from the terminal). Accordingly, this tutorial is aimed at users who do not want to install the broader Xcode development package, and would rather only have the command line. Expand the Command Line Tools row with appropriate MacOS Version (we can always view the macOS version from Top Bar Click on Apple icon About This Mac view Version) Download the.dmg file for that Command Line Tools (Screenshot attached) Once the.dmg file is downloaded, we can double click it and install it.

Download and install Visual Studio 2019 - the Community Edition is sufficient. During the installation when you are given options of features to add, select Desktop development with C++. You should be able to sign in with your YCP email (or create a new account using it).

CLion

  1. Create a JetBrains account with your YCP email to obtain a free license.

  2. Download and install CLion and accept the defaults during the installation process. You should see a screen for the Visual Studio toolchain, be sure to select the AMD64 architecture. Note: If Visual Studio is not the default toolchain, use the up arrow above the list until it shows (default).

Mac OSX (Catalina)

XCode

  1. From the Mac App store, download and install XCode

  2. In the Terminal, install the command line tools using

CLion

  1. Create a JetBrains account with your YCP email to obtain a free license.

  2. Download and install CLion and accept the defaults during the installation process.

Linux

Debian based distros (e.g. Debian, Ubuntu, Mint)

From the command line, install the g++ compiler

CLion

  1. Create a JetBrains account with your YCP email to obtain a free license.

  2. Download CLion and follow the installation instructions for Linux.

  3. Accept the defaults during the installation process.

Installation

  1. Download Visual Studio Code for macOS.
  2. Open the browser's download list and locate the downloaded archive.
  3. Select the 'magnifying glass' icon to open the archive in Finder.
  4. Drag Visual Studio Code.app to the Applications folder, making it available in the macOS Launchpad.
  5. Add VS Code to your Dock by right-clicking on the icon to bring up the context menu and choosing Options, Keep in Dock.

Launching from the command line

You can also run VS Code from the terminal by typing 'code' after adding it to the path:

  • Launch VS Code.
  • Open the Command Palette (Cmd+Shift+P) and type 'shell command' to find the Shell Command: Install 'code' command in PATH command.
  • Restart the terminal for the new $PATH value to take effect. You'll be able to type 'code .' in any folder to start editing files in that folder.

Note: If you still have the old code alias in your .bash_profile (or equivalent) from an early VS Code version, remove it and replace it by executing the Shell Command: Install 'code' command in PATH command.

Alternative manual instructions

Instead of running the command above, you can manually add VS Code to your path, to do so run the following commands:

Start a new terminal to pick up your .bash_profile changes.

Note: The leading slash is required to prevent $PATH from expanding during the concatenation. Remove the leading slash if you want to run the export command directly in a terminal.

Note: Since zsh became the default shell in macOS Catalina, run the following commands to add VS Code to your path:

Touch Bar support

Out of the box VS Code adds actions to navigate in editor history as well as the full Debug tool bar to control the debugger on your Touch Bar:

Mojave privacy protections

After upgrading to macOS Mojave version, you may see dialogs saying 'Visual Studio Code would like to access your {calendar/contacts/photos}.' This is due to the new privacy protections in Mojave and is not specific to VS Code. The same dialogs may be displayed when running other applications as well. The dialog is shown once for each type of personal data and it is fine to choose Don't Allow since VS Code does not need access to those folders. You can read a more detailed explanation in this blog post.

Updates

VS Code ships monthly releases and supports auto-update when a new release is available. If you're prompted by VS Code, accept the newest update and it will get installed (you won't need to do anything else to get the latest bits).

Note: You can disable auto-update if you prefer to update VS Code on your own schedule.

Preferences menu

You can configure VS Code through settings, color themes, and custom keybindings available through the Code > Preferences menu group.

Tools

Install Command Line Tools Mac Catalina Version

You may see mention of File > Preferences in documentation, which is the Preferences menu group location on Windows and Linux. On a macOS, the Preferences menu group is under Code, not File.

Next steps

Once you have installed VS Code, these topics will help you learn more about VS Code:

  • Additional Components - Learn how to install Git, Node.js, TypeScript, and tools like Yeoman.
  • User Interface - A quick orientation around VS Code.
  • User/Workspace Settings - Learn how to configure VS Code to your preferences settings.

Common questions

How Do I Install Command Line Tools On A Mac

Why do I see 'Visual Studio Code would like access to your calendar.'

If you are running macOS Mojave version, you may see dialogs saying 'Visual Studio Code would like to access your {calendar/contacts/photos}.' This is due to the new privacy protections in Mojave discussed above. It is fine to choose Don't Allow since VS Code does not need access to those folders.

VS Code fails to update

Install Command Line Tool Mac

If VS Code doesn't update once it restarts, it might be set under quarantine by macOS. Follow the steps in this issue for resolution.

Does VS Code run on Mac M1 machines?

Install Command Line Tools Mac Catalina Update

Yes, VS Code supports macOS ARM64 builds that can run on Macs with the Apple M1 chip. You can install the Universal build, which includes both Intel and Apple Silicon builds, or one of the platform specific builds.