> For the complete documentation index, see [llms.txt](https://wamr.gitbook.io/document/llms.txt). Markdown versions of documentation pages are available by appending `.md` to page URLs; this page is available as [Markdown](https://wamr.gitbook.io/document/basics/getting-started/on_host.md).

# 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
```
