A community-driven collection of “Hello, World!” programs in every programming language. Perfect for learning syntax, comparing languages, or testing toolchains!
git clone https://github.com/anveshmuppeda/HelloWorldArchive.git
cd HelloWorldArchive
Navigate to a language folder (e.g., languages/python).
README.md.| Language | File/Folder | Version | Run Command |
|---|---|---|---|
| Python | python/ | 3.10+ | python HelloWorld_v3.py |
| C | c/ | C17 | gcc HelloWorld.c -o HelloWorld && ./HelloWorld |
| C++ | cpp/ | C++17 | g++ HelloWorld.cpp -o HelloWorld && ./HelloWorld |
| Java | java/ | JDK 17+ | javac HelloWorld.java && java HelloWorld |
| JavaScript | javascript/ | Node.js 18+ | node HelloWorld.js |
| R | r/ | R 4.3.1+ | Rscript HelloWorld.R |
| TypeScript | typescript/ | 5.0+ | tsc HelloWorld.ts && node HelloWorld.js |
| Go (Golang) | go/ | 1.16+ | go run HelloWorld.go |
| HTML | html/ | HTML5 | Open HelloWorld.html in a web browser |
| COBOL | cobol/ | cobc (GnuCOBOL) 3.2.0 | cobc -x HelloWorld.cob -o HelloWorld && ./HelloWorld |
| Perl | perl/ | 5.36+ | perl HelloWorld.pl |
| PHP | php/ | 8.1+ | php HelloWorld.php |
| Ruby | ruby/ | 3.1+ | ruby HelloWorld.rb |
| Rust | rust/ | 1.65+ | rustc HelloWorld.rs && ./HelloWorld |
| Shell Script | shell/ | Bash 5.1+ | bash HelloWorld.sh |
| Swift | swift/ | 5.7+ | swift HelloWorld.swift |
| Groovy | groovy/ | 4.0+ | groovy HelloWorld.groovy |
| Kotlin | kotlin/ | 1.7+ | kotlinc HelloWorld.kt -include-runtime -d HelloWorld.jar && java -jar HelloWorld.jar |
| Dart | dart/ | 3.0+ | dart run HelloWorld.dart |
| Scala | scala/ | 3.3+ | scala HelloWorld.scala |
| …50+ more! |
Missing a language? Add it!
We welcome contributions! Follow these steps:
languages/ folder.Check the Issues tab for requested languages or improvements.
This project is licensed under the MIT License.
Thank you to all contributors for making this repository a global resource! 🎉
Sai Manasa |
Anvesh Muppeda |
Sandeep Allakonda |
Rohini Gundala |
Let’s code the world together! 💻🌍