Admin CLI is activated when you log in to an NSX Edge using admin credential. As a root user, you can run singleton admin CLI directly from the root shell su admin –c <cmd-to-run> or go into interactive mode of admin CLI su admin and then run admin commands.