Everyone's first program outputs Hello World!. This program should be very simple, that's all you have to do.


Output the string Hello World! to the STDERR.


  1. If your language doesn't support STDERR or STDERR doesn't exist for it, you can output it to it's corresponding error system.
  2. You can't output anything else to STDERR except for Hello World!.
  3. You can't output anything to STDOUT or take any input from STDIN
  4. You can't read any content from files.

This is , so the shortest answer in bytes wins.

  • 3
    \$\begingroup\$ PHP has stderr. \$\endgroup\$ – user42682 Jan 24 '16 at 21:57
  • 5
    \$\begingroup\$ @Mego I personally don't think it's a duplicate. Seeing as how the output method is required to be different, programs cannot just be stolen from that challenge. \$\endgroup\$ – ETHproductions Jan 24 '16 at 22:15
  • 2
    \$\begingroup\$ @ETHproductions IMO the different output method (STDERR vs STDOUT) isn't sufficiently different enough to make it not a dupe. Most of the answers could be trivially transformed by writing to STDERR or file stream 1 instead of STDOUT. \$\endgroup\$ – Mego Jan 24 '16 at 22:16
  • 1
    \$\begingroup\$ I agree with @Mego and therefore closed this as duplicate, not unclear (despite what the banner says). The question is not unclear by any stretch of the imagination. \$\endgroup\$ – mınxomaτ Jan 24 '16 at 22:32
  • 9
    \$\begingroup\$ Note: The comma in Hello, World! is not necessary. Please do yourself a favor and save a byte. \$\endgroup\$ – ETHproductions Jan 24 '16 at 22:59

31 Answers 31


Perl 6, 19 21 bytes

note("Hello World!");
| improve this answer | |

Not the answer you're looking for? Browse other questions tagged or ask your own question.