how for a command line

hi, it may sound noobz.
but still need to know the process for running unity in command line to generate asset bundle (.unity3d)

I am on Mac, so do i have to go through “Terminal”
or if not than how to do that.

right, through terminal