Run Blender on the Command Line on macOS

Add this to your .bashrc or .bash_profile file:

alias blender='/Applications/Blender/blender.app/Contents/MacOS/blender'

To open a file on the command line:

blender file.blend

To render frame 10 from file.blend:

blender -b file.blend -f 10

To render the whole animation from file.blend:

blender -b file.blend -a

Categories

Archives