Explicitly specify the 2-letter language code of the output

mimetype

mimetype --language {{path/to/file}}

click the source code to copy install mimetype on any operating system with command-not-found.com