Janitor plugin : Class "Kirby\CLI\CLI" not found

after installing Kirby CLI (it works from terminal), I tried to use Janitor plugin.
But I have an error when I try to use a command from the panel:
Class "Kirby\CLI\CLI" not found
I can however execute Janitor commands from terminal.
Any idea where the problem might come from?

Did you install Janitor with Composer?


Where is the CLI installed now? Inside the project’s vendor folder, or globally?

I tried both.
When installed globally, Janitor return Class "Kirby\CLI\CLI" not found.
When installed in project’s vendor folder, the error is Class Kirby not found in index.php, line 5
Maybe something is missing on my server ?