To convert a PSD file into a PNG file using ImageMagick use the following command:
convert 'image.psd[0]' image.png

The above command will convert the entire PSD to one PNG file. Make sure you change the file name if the file name is not image.

However, if you want to convert all layers into individual PNG files, use the following command:

convert image.psd image-%d.png