Uh oh!
There was an error while loading.Please reload this page.
- Notifications
You must be signed in to change notification settings - Fork639
Building
Carter Li edited this pageMay 8, 2025 ·6 revisions
fastfetch usescmake for building.pkg-config is recommended for better library detection. The simplest steps to build the fastfetch and flashfetch binaries are:
mkdir -p buildcd buildcmake ..cmake --build. --target fastfetch
If the build process fails to find the headers for a library listed independencies, fastfetch will simply build without support for that specific feature. This means, it won't look for it at runtime and just act like it isn't available.
Currently GCC or clang is required (MSVC is not supported). MSYS2 with CLANG64 subsystem (or CLANGARM64 if needed) is suggested (and tested) to build fastfetch.
- InstallMSYS2
- Open
MSYS2 / CLANG64(notMSYS2 / MSYS, which targets cygwin C runtime) - Install dependencies
pacman -Syu mingw-w64-clang-x86_64-cmake mingw-w64-clang-x86_64-pkgconf mingw-w64-clang-x86_64-clang mingw-w64-clang-x86_64-vulkan-loader mingw-w64-clang-x86_64-vulkan-headers mingw-w64-clang-x86_64-opencl-icd mingw-w64-clang-x86_64-cppwinrt
Follow the building instructions of Linux next.