1. Install the tool
dotnet tool install --global dotnet-project-licenses
2. Run the tool against the current directory (uses the -i flag to specify the input directory)