Открыть меню
683
286
3
15 тыс.
Wiki - Факультет компьютерных наук
Переключить меню настроек
Открыть персональное меню
Вы не представились системе
Ваш IP-адрес будет виден всем, если вы внесёте какие-либо изменения.

Installing CMake on macOS using Homebrew

Материал из Wiki - Факультет компьютерных наук

If you already have Homebrew installed skip to step 5

Homebrew is a command line package manager of macOS.

  1. Open the “Terminal” application
  2. Paste the following string from the brew.sh website into the window and press “Return” (⮐):
/usr/bin/ruby -e "$(curl -fsSL https://raw.githubusercontent.com/Homebrew/install/master/install)"

  1. You will be asked to confirm the installation and enter your administrator password for your computer

  1. After Homebrew is installed you should see the $ prompt again

  1. Install CMake by pasting the following into your command line:
brew install cmake

  1. Homebrew will now install CMake

  1. After CMake is installed you should see the $ prompt again