Commandline returns less results than website

I had different results with the following text, when I copied it onto the website, or when I ran the following command.
The text: “Ich interessiere mich das Auto”
The command: java -jar languagetool-commandline.jar -l de-DE text.txt

The site recognised that the correct sentence is “Ich interessiere mich für das Auto” (The “für” was missing), but the commandline did not deliver any problems.

The command-line version has no AI-based rules, so the results can be different.

Can I somehow get the same functionality from the terminal?

No, not by using the local version. You could try calling the cloud version as an API from the command-line.