install tomcat on mac brew

Shell
catalina -hbrew services start tomcat
Source

Also in Shell: