Skip to content

Command Line Interface

David Alcantar edited this page May 18, 2023 · 9 revisions

The DevSkim CLI (Command Line Interface) is a standalone tool that enables DevSkim to be used without an IDE. Simply run DevSkim from a command line in Windows, Linux, or Mac OS.

The CLI can be downloaded from the Releases page or from Nuget.

Usage: devskim [command] [options]

Commands:
  analyze    Analyze source code using DevSkim
  fix        Apply fixes from a Sarif
  verify     Verify rule validity
  suppress   Suppress issues identified in a DevSkim Sarif

Options:
  --help     Show help information
  --version  Show version information

Use "devskim [command] --help" for more information about a command.

Commands