add command and how to compile