-
-
Notifications
You must be signed in to change notification settings - Fork 1.5k
Set up Build Environment on macOS
Jonathan White edited this page May 16, 2019
·
26 revisions
Note: This is only a one-time setup guide. For actually building KeePassXC, please refer to our build guide.
Install Homebrew (it is the easiest way to install the required packages on macOS):
/usr/bin/ruby -e "$(curl -fsSL https://raw.githubusercontent.com/Homebrew/install/master/install)"
This command will install Cmake
Open a Terminal
brew install cmake
Then install the required libraries (zlib already exists on macOS Sierra so it is not needed to install it):
Open a Terminal:
brew install qt5 libgcrypt argon2 qrencode libsodium
These dependencies are only needed if you build with -DWITH_XC_ALL=ON or the specific option you are building:
brew install libyubikey ykpers quazip
Open a Terminal:
brew update && brew upgrade
Copyright (C) 2016-2023 KeePassXC Team