Use following command to install JMeter using brew, before processing to install make sure you have already installed brew on your Mac.
brew update brew install jmeter
Now you have successfully installed JMeter on your mac.
You can type jmeter in command to open it up.
Open existing JMeter (.xml) test file using command line
jmeter -t <path_to_the_xml_test_file>