How to install tabcmd on Mac OSX

Video is ready, Click Here to View ×


NOTE: THERE IS AN UPDATED METHOD TO DOING THIS NOW. SEE HERE: https://www.youtube.com/watch?v=akY0HrvgPSo

This video shows a quick step-by-step guide to installing Tableau’s command line utility, Tabcmd, on a Mac.

Thanks to Jeff Solomon for providing the bash script needed to get this working, via this Tableau community forum post: https://community.tableau.com/message/343118

NOTE: Some folks have noted that they can’t create the hidden .tabcmd folder (with the dot in front), because they get an error along the lines of “these are reserved for system use”. In this case, you can either:
1) Issue a couple of commands to show all your hidden folders, after which you can create the folder without problems. See here for instructions: http://ianlunn.co.uk/articles/quickly-showhide-hidden-files-mac-os-x-mavericks/
2) Instead create a visible folder called “tabcmd” and change all references to “.tabcmd” in the bash script below to just “tabcmd”, e.g. “$HOME/tabcmd”

#!/bin/bash
# Code from this Tableau Community forum post: https://community.tableau.com/message/343118
java -Xmx64m
-Xss2048k
-Djsse.enableSNIExtension=false
-Dpid=$$
-Dlog.file=$HOME/.tabcmd/tabcmd.log
-Dsession.file=$HOME/.tabcmd/tabcmd-session.xml
-Din.progress.dir=$HOME/.tabcmd
-Dconsole.codepage=$LANG
-Dconsole.cols=$COLUMNS
-cp “$HOME/lib/*” com.tableausoftware.tabcmd.Tabcmd “$@”

One comment

Leave a Reply

Your email address will not be published. Required fields are marked *