install dependencies and validate specs