Scripts are
bash
Install Command Line Tools (CLT) for Xcode:
xcode-select --install
Install Homebrew:
/bin/bash -c "$(curl -fsSL https://raw.githubusercontent.com/Homebrew/install/HEAD/install.sh)"
git clone https://github.com/microsoft/vcpkg "$HOME/vcpkg"
cd $HOME/vcpkg && ./bootstrap-vcpkg.sh
Install via Homebrew:
brew install cmake
Verify:
cmake --version
brew install ninja
Verify:
ninja --version
Download and install from Visual Studio Code site.
Open Visual Studio Code and press Cmd + Shift + p
. Select Shell Command: Install 'code' command in PATH
.