Skip to content

Instantly share code, notes, and snippets.

@MarcosSiega
Forked from daehli/VSCODE.md
Created December 9, 2023 13:16
Show Gist options
  • Select an option

  • Save MarcosSiega/54514926e18572bd6046293bb581f90b to your computer and use it in GitHub Desktop.

Select an option

Save MarcosSiega/54514926e18572bd6046293bb581f90b to your computer and use it in GitHub Desktop.
Install Visual Studio Code on Mac OS and add vscode alias

Brew Install

ruby -e "$(curl -fsSL https://raw.githubusercontent.com/Homebrew/install/master/install)" < /dev/null 2> /dev/null ; brew install caskroom/cask/brew-cask 2> /dev/null

Install Brew Visual-Studio Code

brew cask install visual-studio-code

Add Alias to Open file with vscode in the terminal

# You can now make vscode [FOLDER] in the Terminal
echo alias vscode=\"/Applications/Visual\\ Studio\\ Code.app/contents/Resources/app/bin/code\" >> ~/.zshrc

# Reload you Terminal 

source ~/.bash_profile

## If you are using zsh

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