code: public static LocalCall<Map<String, Object>> install(boolean refresh,
              List<String> pkgs) {
          LinkedHashMap<String, Object> kwargs = new LinkedHashMap<>();
          kwargs.put("refresh", refresh);
          kwargs.put("pkgs", pkgs);
          return new LocalCall<>("pkg.install", Optional.empty(), Optional.of(kwargs),
                  new TypeToken<Map<String, Object>>(){});
      }
docs: Call 'pkg.install' API.
  
  @param refresh refresh repos before installation
  @param pkgs list of packages
  @return the call