I'm currently using svgo 1.3.2 which as of right now is the latest released version: https://github.com/svg/svgo/releases
The second command did not work and according to the help docs you need to specify `-o` to the output file, otherwise everything is treated as input files.