List terms from Custom Taxonomy

You’e not echoing out $cat in your foreach loop in the code you provided.

Change : <li><?php $cat; ?></li> to <li><?php echo $cat; ?></li>

Edit:

get_terms() returns an array of objects. So if you want to display the name of the term in your foreach loop it would be:

<li><?php echo $cat->name; ?></li>