I'd be happier if this were extracted into a method and run unless no-install is passed.