add a doctor command to check the environment and dependencies
add a doctor command to check the environment and dependencies