# Fatal error after trying to install CLI

**URL:** <https://forum.getkirby.com/t/fatal-error-after-trying-to-install-cli/31381>\
**Category:** Questions\
**Tags:** v4\
**Created:** [April 16, 2024, 2:54pm UTC](https://forum.getkirby.com/t/fatal-error-after-trying-to-install-cli/31381 "2024-04-16T14:54:39Z")\
**Posts on this page:** 3\
**Page:** 1

<div class="post-metadata">

**Author:** ![sly31](https://dub1.discourse-cdn.com/flex017/user_avatar/forum.getkirby.com/sly31/32/16579_2.png) [@sly31](https://forum.getkirby.com/u/sly31)\
**Post date:** [April 16, 2024, 2:54pm UTC](https://forum.getkirby.com/t/fatal-error-after-trying-to-install-cli/31381/1 "2024-04-16T14:54:39Z")

</div>

Hello,  
sine I tried to install (no success) Kirby CLI, I have a fatal error :

```auto

Fatal error: Uncaught Error: Class "Kirby" not found in /<<my_path>>/index.php:5 Stack trace: #0 {main} thrown in /<<my_path>>/index.php on line 5

```

I removed Kirby CLI and cleaned the /composer/vendor/bin folder

---

<div class="post-metadata">

**Author:** ![texnixe](https://dub1.discourse-cdn.com/flex017/user_avatar/forum.getkirby.com/texnixe/32/5754_2.png) [@texnixe](https://forum.getkirby.com/u/texnixe)\
**Post date:** [April 16, 2024, 3:34pm UTC](https://forum.getkirby.com/t/fatal-error-after-trying-to-install-cli/31381/2 "2024-04-16T15:34:50Z")

</div>

What exactly did you do to install the CLI?

---

<div class="post-metadata">

**Author:** ![sly31](https://dub1.discourse-cdn.com/flex017/user_avatar/forum.getkirby.com/sly31/32/16579_2.png) [@sly31](https://forum.getkirby.com/u/sly31)\
**Post date:** [April 16, 2024, 3:39pm UTC](https://forum.getkirby.com/t/fatal-error-after-trying-to-install-cli/31381/3 "2024-04-16T15:39:22Z")

</div>

I just solved my problem. I certainly made a mistake when installing CLI, but I don’t know exactly what.
