Skip to the greeting
Hello Terminal

$ run hello —lang en

Hello, world

The first program anyone writes, given a page of its own. It is saying hello in English right now — tap the button and it switches.

See the source
Greetings loaded
10
Languages of code
6
First printed
1972
Bugs reported
0

Ten ways to say it

Every greeting the button cycles through, listed plainly so nothing depends on a click.

  • Hello, world en
  • नमस्ते, दुनिया hi
  • Hola, mundo es
  • こんにちは、世界 ja
  • Bonjour, le monde fr
  • 你好,世界 zh
  • Olá, mundo pt
  • مرحبا بالعالم ar
  • Ciao, mondo it
  • Hallo, Welt de

One line, six languages

Copy any of them into a fresh file and you have a working program.

JavaScript

hello.js

console.log("Hello, world");

Python

hello.py

print("Hello, world")

Go

hello.go

fmt.Println("Hello, world")

Rust

hello.rs

println!("Hello, world");

Ruby

hello.rb

puts "Hello, world"

C

hello.c

printf("Hello, world\n");

Why this program never retires

Born in a 1972 memo

Brian Kernighan printed it in a Bell Labs tutorial for the B language. Two words, and every language since has had to pass the test.

The shortest smoke test

If it prints, your toolchain works: compiler found, path set, output stream open. Developers still start every new machine here.

Spoken everywhere

Ten greetings live on this page, from Hindi to Japanese. The button below walks through all of them, one tap at a time.

Go on, say hello

The counter is honest: it only moves when you press the button.

0

hellos said on this visit