$ wget https://gist.githubusercontent.com/atelic/9c7746663d91ad72af6a7205cd74a18e/raw/31daf6c9d2e0e688d36931b01b1d7af869535e46/imgur.pl
# dnf install perl-libwww-perl perl-JSON
Change c1i3nt1D to your imgur client-id
$ ./imgur.pl myfile.png
The script will output the direct link to the image:
https://i.imgur.com/<uid>
You can give more than one file argument like:
$ ./imgur.pl file1.png file2.png fileN.png