]> git.donarmstrong.com Git - qmk_firmware.git/blob - util/qmk_install.sh
6f35e4c71b9f4f8de64ed2601ccd45c9b0133df3
[qmk_firmware.git] / util / qmk_install.sh
1 #!/bin/sh
2 # Pick the correct install script based on the current OS
3
4 util_dir=$(dirname "$0")
5
6 case $(uname -a) in
7         *Darwin*)
8                 exec "${util_dir}/macos_install.sh"
9         ;;
10   *Linux*Microsoft*)
11                 exec "${util_dir}/wsl_install.sh"
12   ;;
13         *Linux*)
14                 exec "${util_dir}/linux_install.sh"
15         ;;
16         MSYS_NT*|MINGW64_NT*|MINGW32_NT*)
17                 exec "${util_dir}/msys2_install.sh"
18         ;;
19   *)
20     echo "Environment not supported. Please see https://docs.qmk.fm for details on how to configure the QMK Firmware build tools manually."
21   ;;
22 esac