Convert .svg to .ico ImageMagick

ImageMagick does this job very well and generates different versions of the icon in the resulting file. After installing run:

convert -density 384 -background none input.svg -define icon:auto-resize output.ico

SVG created in Inkscape:

Resulting .ico file:

Have a question⁉ Contact me.