Search code examples
bashcygwinxmllint

use xmllint in cygwin


I am using cygwin on a window 8 machine. When I type

$ xmllint --format something.xml

It says: -bash: xmllint: command not found

How can I use xmllint with cygwin? Is there any other alternatives?


Solution

  • Search package

    cygcheck -p xmllint.exe$
    

    Result

    Found 1 matches for xmllint.exe$
    x86_64/libxml2/libxml2-2.9.1-1
    

    Then install

    setup-x86_64 -qP libxml2