{"id":5335,"date":"2022-06-14T15:07:44","date_gmt":"2022-06-14T07:07:44","guid":{"rendered":"https:\/\/www.jameseduard.com\/?p=5335"},"modified":"2022-06-14T15:07:44","modified_gmt":"2022-06-14T07:07:44","slug":"how-to-install-visual-studio-code-on-macos","status":"publish","type":"post","link":"https:\/\/www.jameseduard.com\/?p=5335","title":{"rendered":"How To Install Visual Studio Code on macOS"},"content":{"rendered":"\n\n\n<p class=\"wp-block-paragraph\">This article will help you how to install <strong><em>Visual Studio Code <\/em><\/strong>on <strong><em>macOS<\/em><\/strong> operating system using Homebrew.<\/p>\n\n\n\n<p class=\"wp-block-paragraph\"><strong>1.  Visual Studio Prerequisites.<\/strong><\/p>\n\n\n\n<p class=\"wp-block-paragraph\"><strong>Homebrew<\/strong> is a popular package management tools used for installing most open-source software like Node.<\/p>\n\n\n\n<p class=\"wp-block-paragraph\">To Install Homebrew on macOS, open a terminal and run the following command below.<\/p>\n\n\n\n<pre class=\"wp-block-code\"><code class=\"\">ruby -e \"$(curl -fsSL https:\/\/raw.githubusercontent.com\/Homebrew\/install\/master\/install)\"<\/code><\/pre>\n\n\n\n<p class=\"wp-block-paragraph\">The installation process will prompt for the password. Just enter your password where required to complete the Homebrew installation. The process will take some time.<\/p>\n\n\n\n<figure class=\"wp-block-image size-large is-resized\"><img fetchpriority=\"high\" decoding=\"async\" src=\"https:\/\/www.jameseduard.com\/wp-content\/uploads\/2022\/06\/Screenshot-2022-06-14-at-2.58.01-PM-1050x550.png\" alt=\"\" class=\"wp-image-5336\" width=\"840\" height=\"440\"\/><\/figure>\n\n\n\n<p class=\"wp-block-paragraph\">Once the installation completed, you can check the version by running the command below.<\/p>\n\n\n\n<pre class=\"wp-block-code\"><code class=\"\">brew --version\nHomebrew 3.5.2-2-gedea67f\nHomebrew\/homebrew-core (no Git repository)<\/code><\/pre>\n\n\n\n<p class=\"wp-block-paragraph\">You may also run the below command to ensure everything is configured correctly. below command will show the instructions for correcting any issues.<\/p>\n\n\n\n<pre class=\"wp-block-code\"><code class=\"\">james@JamesEduard repos % brew doctor\n\nPlease note that these warnings are just used to help the Homebrew maintainers\nwith debugging if you file an issue. If everything you use Homebrew for is\nworking fine: please don't worry or file an issue; just ignore this. Thanks!\n\nWarning: A newer Command Line Tools release is available.\nUpdate them from Software Update in System Preferences or run:\n  softwareupdate --all --install --force\n\nIf that doesn't show you any updates, run:\n  sudo rm -rf \/Library\/Developer\/CommandLineTools\n  sudo xcode-select --install\n\nAlternatively, manually download them from:\n  https:\/\/developer.apple.com\/download\/all\/.\nYou should download the Command Line Tools for Xcode 13.4.\n\nWarning: Homebrew\/homebrew-core was not tapped properly! Run:\n  rm -rf \"\/usr\/local\/Homebrew\/Library\/Taps\/homebrew\/homebrew-core\"\n  brew tap homebrew\/core\n\nWarning: Some taps are not on the default git origin branch and may not receive\nupdates. If this is a surprise to you, check out the default branch with:\n  git -C $(brew --repo homebrew\/core) checkout <\/code><\/pre>\n\n\n\n<p class=\"wp-block-paragraph\">To upgrade Homebrew, execute the command below in terminal prompt.<\/p>\n\n\n\n<pre class=\"wp-block-code\"><code class=\"\">cd \"$(brew --repo)\" git fetch &amp;&amp; git reset --hard origin\/master &amp;&amp; brew update<\/code><\/pre>\n\n\n\n<p class=\"wp-block-paragraph\">To uninstall Homebrew, execute the command below in a terminal.<\/p>\n\n\n\n<pre class=\"wp-block-code\"><code class=\"\">ruby -e \"$(curl -fsSL https:\/\/raw.githubusercontent.com\/Homebrew\/install\/master\/uninstall)\"<\/code><\/pre>\n\n\n\n<p class=\"wp-block-paragraph\">2. Install Visual Studio Code on macOS<\/p>\n\n\n\n<p class=\"wp-block-paragraph\">First, fetch the latest version of homebrew and formula. Then tap the Caskroom\/Cask repository from Github. After that search for the visual-studio-code package.<\/p>\n\n\n\n<pre class=\"wp-block-code\"><code class=\"\">brew update\nbrew tap homebrew\/cask\nbrew search visual-studio-code --cask<\/code><\/pre>\n\n\n\n<p class=\"wp-block-paragraph\">To install Visual Studio Code, execute the following command in terminal.<\/p>\n\n\n\n<pre class=\"wp-block-code\"><code class=\"\">brew install visual-studio-code<\/code><\/pre>\n\n\n\n<p class=\"wp-block-paragraph\">Output: Wait until the installation complete.<\/p>\n\n\n\n<pre class=\"wp-block-code\"><code class=\"\">==> Downloading https:\/\/update.code.visualstudio.com\/1.68.0\/darwin\/stable\nAlready downloaded: \/Users\/jameseduardandaya\/Library\/Caches\/Homebrew\/downloads\/50e5eb910a4768c05aff2cba09a255aba3cf9449a1383930c4b4e02bbecbdcc3--VSCode-darwin.zip\n==> Installing Cask visual-studio-code\n==> Moving App 'Visual Studio Code.app' to '\/Applications\/Visual Studio Code.app'\n==> Linking Binary 'code' to '\/usr\/local\/bin\/code'\n&#x1f37a;  visual-studio-code was successfully installed!<\/code><\/pre>\n\n\n\n<p class=\"wp-block-paragraph\">3. After completing the installation of <strong><em>Visual Studio Code<\/em><\/strong>, you can launch it on your macOS system and you can add the required extensions or plugins needed for your application or development.<\/p>\n\n\n\n<figure class=\"wp-block-image size-large\"><img decoding=\"async\" src=\"https:\/\/www.jameseduard.com\/wp-content\/uploads\/2022\/06\/Screenshot-2022-06-14-at-3.13.09-PM-1050x550.png\" alt=\"\" class=\"wp-image-5340\"\/><\/figure>\n\n\n\n<p class=\"wp-block-paragraph\">3. Installation done , below is a recommended plugins or extension for vscode<\/p>\n\n\n\n<ul class=\"wp-block-list\"><li>zsh<\/li><li>git<\/li><li>syntax highligter<\/li><li>Git Lens<\/li><li>Vim<\/li><li>YAML<\/li><li>Azure Tools<\/li><li>Terraform<\/li><li>.NET<\/li><\/ul>\n\n\n\n<p class=\"wp-block-paragraph\"><\/p>\n","protected":false},"excerpt":{"rendered":"<p>This article will help you how to install Visual Studio Code on macOS operating system using Homebrew. 1. Visual Studio Prerequisites. Homebrew is a popular package management tools used for installing most open-source software like Node. To Install Homebrew on macOS, open a terminal and run the following command below. The installation process will prompt<\/p>\n","protected":false},"author":1,"featured_media":5338,"comment_status":"open","ping_status":"open","sticky":false,"template":"","format":"standard","meta":{"footnotes":""},"categories":[52,47,916],"tags":[915,628,822],"class_list":["post-5335","post","type-post","status-publish","format-standard","has-post-thumbnail","hentry","category-devops","category-how-tos","category-macos","tag-homebrew","tag-macos","tag-vscode"],"_links":{"self":[{"href":"https:\/\/www.jameseduard.com\/index.php?rest_route=\/wp\/v2\/posts\/5335","targetHints":{"allow":["GET"]}}],"collection":[{"href":"https:\/\/www.jameseduard.com\/index.php?rest_route=\/wp\/v2\/posts"}],"about":[{"href":"https:\/\/www.jameseduard.com\/index.php?rest_route=\/wp\/v2\/types\/post"}],"author":[{"embeddable":true,"href":"https:\/\/www.jameseduard.com\/index.php?rest_route=\/wp\/v2\/users\/1"}],"replies":[{"embeddable":true,"href":"https:\/\/www.jameseduard.com\/index.php?rest_route=%2Fwp%2Fv2%2Fcomments&post=5335"}],"version-history":[{"count":0,"href":"https:\/\/www.jameseduard.com\/index.php?rest_route=\/wp\/v2\/posts\/5335\/revisions"}],"wp:attachment":[{"href":"https:\/\/www.jameseduard.com\/index.php?rest_route=%2Fwp%2Fv2%2Fmedia&parent=5335"}],"wp:term":[{"taxonomy":"category","embeddable":true,"href":"https:\/\/www.jameseduard.com\/index.php?rest_route=%2Fwp%2Fv2%2Fcategories&post=5335"},{"taxonomy":"post_tag","embeddable":true,"href":"https:\/\/www.jameseduard.com\/index.php?rest_route=%2Fwp%2Fv2%2Ftags&post=5335"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}