If you wonder how to create a config file in CS:GO on macOS, you should just do all the same manipulations as described in this article, but the path to the config folder will be different. On macOS, configs are located at the common/Counterstrike:Global Offensive/csgo/cfg/.