use type to check wheter go command is installed