# Chapter 25: kotlin/native

**URL:** <https://forums.kodeco.com/t/chapter-25-kotlin-native/164816>\
**Category:** Kotlin Apprentice\
**Created:** [February 17, 2022, 3:08am UTC](https://forums.kodeco.com/t/chapter-25-kotlin-native/164816 "2022-02-17T03:08:02Z")\
**Posts on this page:** 8\
**Page:** 1

<div class="post-metadata">

**Author:** ![\_iniubom](https://assets.chunter.kodeco.com/user_avatar/forums.kodeco.com/_iniubom/32/102075_2.png) [@\_iniubom](https://forums.kodeco.com/u/_iniubom)\
**Post date:** [February 17, 2022, 3:08am UTC](https://forums.kodeco.com/t/chapter-25-kotlin-native/164816/1 "2022-02-17T03:08:02Z")

</div>

Hi  
I’m wish to print ‘hello’ from main using konanc -o hello hello.kt. Te following from terminal: bash: konanc: command not found  
???

---

<div class="post-metadata">

**Author:** ![vgonda](https://assets.chunter.kodeco.com/user_avatar/forums.kodeco.com/vgonda/32/102490_2.png) [@vgonda](https://forums.kodeco.com/u/vgonda)\
**Post date:** [February 19, 2022, 8:25pm UTC](https://forums.kodeco.com/t/chapter-25-kotlin-native/164816/3 "2022-02-19T20:25:18Z")

</div>

> [@\_iniubom](#):
>
> konanc: command not found

Hi! Can you confirm that you downloaded the correct version and added it to your path? [https://www.raywenderlich.com/books/kotlin-apprentice/v2.0/chapters/25-kotlin-native#toc-chapter-028-anchor-002](https://www.raywenderlich.com/books/kotlin-apprentice/v2.0/chapters/25-kotlin-native#toc-chapter-028-anchor-002)

---

<div class="post-metadata">

**Author:** ![\_iniubom](https://assets.chunter.kodeco.com/user_avatar/forums.kodeco.com/_iniubom/32/102075_2.png) [@\_iniubom](https://forums.kodeco.com/u/_iniubom)\
**Post date:** [February 21, 2022, 4:30am UTC](https://forums.kodeco.com/t/chapter-25-kotlin-native/164816/4 "2022-02-21T04:30:35Z")

</div>

Thank you for your prompt response Victoria,

From GitHub: 1.5.10  
Command: export PATH=“$PATH:/Users/ubom/bin/kotlin-native-1.5.10/bin”  
Then: source ~/.bashrc  
However when ran: ‘command not found’, ‘directory not found’  
This book is so old I think I’m going to burn out maybe I should burn the book before I burn out LOL

---

<div class="post-metadata">

**Author:** ![vgonda](https://assets.chunter.kodeco.com/user_avatar/forums.kodeco.com/vgonda/32/102490_2.png) [@vgonda](https://forums.kodeco.com/u/vgonda)\
**Post date:** [February 21, 2022, 3:47pm UTC](https://forums.kodeco.com/t/chapter-25-kotlin-native/164816/5 "2022-02-21T15:47:59Z")

</div>

Are you on a mac or windows machine? These look like the instructions for mac.

If you are on mac, `export PATH="$PATH:/Users/ubom/bin/kotlin-native-1.5.10/bin` should be added to your `~/.bashrc` (or equivalent) rather than run as a command, then the source command executed.

---

<div class="post-metadata">

**Author:** ![\_iniubom](https://assets.chunter.kodeco.com/user_avatar/forums.kodeco.com/_iniubom/32/102075_2.png) [@\_iniubom](https://forums.kodeco.com/u/_iniubom)\
**Post date:** [February 22, 2022, 5:40am UTC](https://forums.kodeco.com/t/chapter-25-kotlin-native/164816/6 "2022-02-22T05:40:06Z")

</div>

Hi V, I restarted Terminal, yet ‘command not found’ - checkout the png. Thanks as always.

![Screen Shot 2022-02-22 at 12.25.47 AM](https://files.chunter.kodeco.com/original/3X/5/b/5b99710ef070cee9685e3c085bb907b7f86e3d10.png)

---

<div class="post-metadata">

**Author:** ![\_iniubom](https://assets.chunter.kodeco.com/user_avatar/forums.kodeco.com/_iniubom/32/102075_2.png) [@\_iniubom](https://forums.kodeco.com/u/_iniubom)\
**Post date:** [February 25, 2022, 11:33pm UTC](https://forums.kodeco.com/t/chapter-25-kotlin-native/164816/7 "2022-02-25T23:33:28Z")

</div>

![2022-02-25-18-29-29](https://files.chunter.kodeco.com/original/3X/d/7/d7ba24d55f7ce489cc552e1f88163e165cea937a.jpeg)

---

<div class="post-metadata">

**Author:** ![mandafrederick](https://assets.chunter.kodeco.com/user_avatar/forums.kodeco.com/mandafrederick/32/102369_2.png) [@mandafrederick](https://forums.kodeco.com/u/mandafrederick)\
**Post date:** [March 1, 2022, 4:11pm UTC](https://forums.kodeco.com/t/chapter-25-kotlin-native/164816/8 "2022-03-01T16:11:33Z")

</div>

Hello, @_iniubom! Thank you for taking the time to work through our book.

I’m Manda, the Community Manager. I’m reaching out on behalf of the team to offer some support. We appreciate you taking the time to leave feedback. It seems you’ve having more issues than is usual, and as our book team is available to help with occasional support only, I offer a few other solutions:

1. If you are struggling with any of the concepts in the book, I’d encourage you to dive deeper into those areas on your own via our Android and Kotlin Learning Paths: [https://www.raywenderlich.com/android/paths](https://www.raywenderlich.com/android/paths).

2. You can seek additional help through our community of learners in our Android group on our Discord server: [Discord](https://discord.gg/FX26U9VK)

3. You can continue to log issues you see here and our team will be looking into all feedback when they update the book, which they usually do every 12-18 months.

Whichever option you take, I’d gently remind you that we foster a friendly and supportive community here, always, so please be mindful of that as you interact with others. The teams work very hard on the content and are always open to feedback; disrespectful gestures such as suggestion the books merit burning won’t be tolerated in this space. Thank you for your understanding.

Thank you, again, for reaching out. You can reach me directly if you have any more questions about getting support or about our community code of conduct: [manda@razeware.com](mailto:manda@razeware.com)

Best,  
Manda

---

<div class="post-metadata">

**Author:** ![mlasa](https://assets.chunter.kodeco.com/user_avatar/forums.kodeco.com/mlasa/32/107008_2.png) [@mlasa](https://forums.kodeco.com/u/mlasa)\
**Post date:** [April 17, 2022, 4:05pm UTC](https://forums.kodeco.com/t/chapter-25-kotlin-native/164816/9 "2022-04-17T16:05:52Z")

</div>

@_iniubom Hi! I wasn’t experiencing your exact same issue, but I realized I was downloading `kotlin-compiler-1.5.10.zip` and not `kotlin-native-macos-1.5.10.tar.gz`. I didn’t see the same file structure as the example in the book, or find/use the same files/paths, and it was because of that.

Hope it helps at all.
