# Hello-world Program On Host

Now we have our host set up, we can build our hello world program and run it using WAMR.

First, build iwasm vmcore on your platform.

```sh
cd ${WAMR-dir}/product-mini/platforms/${your platform}
mkdir build && cd build
cmake ..
make 
```

Then you are ready to go to the directory that contains the hello world program and copy our iwasm vmcore

```sh
cp iwasm ../../../app-samples/hello-world
cd ${WAMR-dir}/product-mini/app-samples/hello-world
./build.sh
```

Now you could execute your first wasm program!

```sh
./iwasm test.wasm
```


---

# Agent Instructions: Querying This Documentation

If you need additional information that is not directly available in this page, you can query the documentation dynamically by asking a question.

Perform an HTTP GET request on the current page URL with the `ask` query parameter:

```
GET https://wamr.gitbook.io/document/basics/getting-started/on_host.md?ask=<question>
```

The question should be specific, self-contained, and written in natural language.
The response will contain a direct answer to the question and relevant excerpts and sources from the documentation.

Use this mechanism when the answer is not explicitly present in the current page, you need clarification or additional context, or you want to retrieve related documentation sections.
