Add User to Group Mac Command Line Terminal How To October 4, 2011 | By Duchateaux. This is the Command line to Execute from Terminal on macOS: sudo dseditgroup -o edit -a userToAdd -t user holdingGroup Tags: Administration, Command line, Console, Mac Os X, Shell, Terminal « Mac OS X Add Group Command Terminal Howto Firebug Howto Save Changes Made on HTML and CSS » Tutorial for Linux Step-by-step GNU/Linux Tutorials for Beginners