# Hello World
Let's write your first Razen program! This simple example will print "Hello, World!" to the console.
## Creating Your First Program
Create a new file named `hello.rzn` and open it in your favorite text editor. Then, add the following code:
```razen
# My first Razen program
show "Hello, World!"
```
That's it! This simple program uses the built-in `show` function/statement to display text to the console.
## Running Your Program
To run your program, open a terminal or command prompt, navigate to the directory containing your `hello.rzn` file, and run:
```bash
razen-run hello.rzn
```
You should see the following output:
```
Hello, World!
```
## Understanding the Code
Let's break down what's happening in this simple program:
1. `# My first Razen program` - This is a comment. Comments are ignored by the Razen Compiler and are used to add notes to your code.
2. `show "Hello, World!"` - This line calls the built-in `show` function/statement with a string argument. The string is enclosed in double quotes.
## Adding User Input
Let's modify our program to ask for the user's name and then greet them:
```razen
# Get user input and display a greeting
show "What is your name?";
read name;
show "Hello " + name + "!";
```
When you run this program, it will:
1. Ask for your name
2. Wait for you to type your name and press Enter
3. Greet you by name
## Note
The `;` is a optinal closing if you want so you can use it or not.
- I prefer to use `;` for more to avoid conflicts in the code.
## Next Steps
Now that you've written your first Razen program, you're ready to learn more about the language. Check out the **[Tokens, Variables and Data Types](/docs/language-basics/tokens.mdx)** guide to continue your journey!
# Hello World
Let's write your first Razen program! This simple example will print "Hello, World!" to the console.
## Creating Your First Program
Create a new file named `hello.rzn` and open it in your favorite text editor. Then, add the following code:
```razen
# My first Razen program
show "Hello, World!"
```
That's it! This simple program uses the built-in `show` function/statement to display text to the console.
## Running Your Program
To run your program, open a terminal or command prompt, navigate to the directory containing your `hello.rzn` file, and run:
```bash
razen-run hello.rzn
```
You should see the following output:
```
Hello, World!
```
## Understanding the Code
Let's break down what's happening in this simple program:
1. `# My first Razen program` - This is a comment. Comments are ignored by the Razen Compiler and are used to add notes to your code.
2. `show "Hello, World!"` - This line calls the built-in `show` function/statement with a string argument. The string is enclosed in double quotes.
## Adding User Input
Let's modify our program to ask for the user's name and then greet them:
```razen
# Get user input and display a greeting
show "What is your name?";
read name;
show "Hello " + name + "!";
```
When you run this program, it will:
1. Ask for your name
2. Wait for you to type your name and press Enter
3. Greet you by name
## Note
The `;` is a optinal closing if you want so you can use it or not.
- I prefer to use `;` for more to avoid conflicts in the code.
## Next Steps
Now that you've written your first Razen program, you're ready to learn more about the language. Check out the **[Tokens, Variables and Data Types](/docs/language-basics/tokens.mdx)** guide to continue your journey!