The following options are available for the dotnet outdated command:
Options:
--version Show version information.
-?|-h|--help Show help information.
-i|--include-auto-references Specifies whether to include auto-referenced packages.
-pre|--pre-release <PRERELEASE> Specifies whether to look for pre-release versions of packages. Possible values are: Auto (default), Always or Never.
-vl|--version-lock <VERSION_LOCK> Specifies whether the package should be locked to the current Major or Minor version. Possible values are: None (default), Major or Minor.
-t|--transitive Specifies whether it should detect transitive dependencies.
-td|--transitive-depth <TRANSITIVE_DEPTH> Defines how many levels deep transitive dependencies should be analyzed. Integer value (default = 1).
-u|--upgrade[:<TYPE>] Specifies whether outdated packages should be upgraded. Possible values for <TYPE> is Auto (default) or Prompt.
-f|--fail-on-updates Specifies whether it should return a non-zero exit code when updates are found.
-inc|--include <FILTER_INCLUDE> Specifies to only look at packages where the name contains the provided string. Culture and case insensitive.
-exc|--exclude <FILTER_EXCLUDE> Specifies to only look at packages where the name does not contain the provided string. Culture and case insensitive.
-o|--output <OUTPUT_FILENAME> Specifies the filename for a generated report.
-of|--output-format <OUTPUT_FILE_FORMAT> Specifies the output format for the generated report. Possible values: json (default), csv, or markdown.
-ot|--older-than <OLDER_THAN_DAYS> Only include package versions that are older than the specified number of days. Default value is: 0.
-n|--no-restore Add the reference without performing restore preview and compatibility check.
-r|--recursive Recursively search for all projects within the provided directory.
-fba|--include-file-based-apps Include loose file-based apps when recursively searching a directory.
-ifs|--ignore-failed-sources Treat package source failures as warnings.
-utd|--include-up-to-date Include all dependencies in the report even the ones not outdated.
-prl|--pre-release-label <PRERELEASE_LABEL> Specifies an optional label to restrict matches to when looking for pre-release versions of packages.
-ncll|--nuget-cred-log-level <NU_GET_CRED_LOG_LEVEL> Specifies the minimum level of logs for NuGet Credential Service. Possible values: debug, verbose, information, warning (default), or error.
-rt|--runtime <RUNTIME> Specifies an optional runtime identifier to be used during the restore target when projects are analyzed.
-mv|--maximum-version <MAX_VERSION> The inclusive maximum package version to upgrade to.