# \[SOLVED\] No local CLI detected. Starting with CLI 3.6, the CLI must be installed locally to use local CLI plugins

**URL:** <https://forum.ionicframework.com/t/solved-no-local-cli-detected-starting-with-cli-3-6-the-cli-must-be-installed-locally-to-use-local-cli-plugins/99912>\
**Category:** ionic-v3\
**Created:** [July 28, 2017, 5:49am UTC](https://forum.ionicframework.com/t/solved-no-local-cli-detected-starting-with-cli-3-6-the-cli-must-be-installed-locally-to-use-local-cli-plugins/99912 "2017-07-28T05:49:16Z")\
**Posts on this page:** 7\
**Page:** 1

<div class="post-metadata">

**Author:** ![reedrichards](https://avatars.discourse-cdn.com/v4/letter/r/34f0e0/32.png) [@reedrichards](https://forum.ionicframework.com/u/reedrichards)\
**Post date:** [July 28, 2017, 5:49am UTC](https://forum.ionicframework.com/t/solved-no-local-cli-detected-starting-with-cli-3-6-the-cli-must-be-installed-locally-to-use-local-cli-plugins/99912/1 "2017-07-28T05:49:16Z")

</div>

I upgraded to Ionic 3.6.0 like described in the Changelog, respectively

```
npm install -g ionic@latest
npm install @ionic/app-scripts@latest --save-dev
npm install ionic-angular@latest --save

```

Afterwards, I started the command `ionic server` and following question poped up

```
[WARN] No local CLI detected.
Starting with CLI 3.6, the CLI must be installed locally to use local CLI plugins.
? Install now?

```

If I answer yes, following command is then run

```
npm install --save-dev --save-exact ionic@latest

```

But why? Do I then now need Ionic generally (-g) installed and one local copy of Ionic in each project I have? Really is that mandatory? Where is that documented?

P.S.: If I answer no to the question, I am not be able to start my server `ionic serve` anymore. Each time the question pop up, answer no =\> the process stop

---

<div class="post-metadata">

**Author:** ![reedrichards](https://avatars.discourse-cdn.com/v4/letter/r/34f0e0/32.png) [@reedrichards](https://forum.ionicframework.com/u/reedrichards)\
**Post date:** [July 28, 2017, 6:04am UTC](https://forum.ionicframework.com/t/solved-no-local-cli-detected-starting-with-cli-3-6-the-cli-must-be-installed-locally-to-use-local-cli-plugins/99912/2 "2017-07-28T06:04:18Z")

</div>

I found something about it in the Ionic-cli changeling

> Added recommendation for local CLI installation. You can use the global ionic binary from npm i -g ionic installation and it will use the local CLI version if installed, similar to gulp or other CLIs. The CLI is installed locally for new projects by default.

But actually it seems it isn’t a recommendation since I can’t start my server without having a local ionic installed…I gonna open an issue

---

<div class="post-metadata">

**Author:** ![reedrichards](https://avatars.discourse-cdn.com/v4/letter/r/34f0e0/32.png) [@reedrichards](https://forum.ionicframework.com/u/reedrichards)\
**Post date:** [July 28, 2017, 6:08am UTC](https://forum.ionicframework.com/t/solved-no-local-cli-detected-starting-with-cli-3-6-the-cli-must-be-installed-locally-to-use-local-cli-plugins/99912/3 "2017-07-28T06:08:47Z")

</div>

I opened following issue:

> <https://github.com/ionic-team/ionic-cli/issues/2570>

---

<div class="post-metadata">

**Author:** ![Sujan12](https://sea1.discourse-cdn.com/ionicframework/user_avatar/forum.ionicframework.com/sujan12/32/108395_2.png) [@Sujan12](https://forum.ionicframework.com/u/Sujan12)\
**Post date:** [July 28, 2017, 8:13am UTC](https://forum.ionicframework.com/t/solved-no-local-cli-detected-starting-with-cli-3-6-the-cli-must-be-installed-locally-to-use-local-cli-plugins/99912/4 "2017-07-28T08:13:25Z")

</div>

I think this is actually a good thing. Now every project has a record of what CLI worked with it. We will be very happy about that in 6 months or a year. Also if you have a project that doesn’t work with the newest CLI for whatever reason (thank god that never happened to me before), it will now be possible to keep the old CLI just for this project. The overhead is minimal I think, we already have a bunch of CLI plugins installed locally.

---

<div class="post-metadata">

**Author:** ![reedrichards](https://avatars.discourse-cdn.com/v4/letter/r/34f0e0/32.png) [@reedrichards](https://forum.ionicframework.com/u/reedrichards)\
**Post date:** [July 28, 2017, 8:20am UTC](https://forum.ionicframework.com/t/solved-no-local-cli-detected-starting-with-cli-3-6-the-cli-must-be-installed-locally-to-use-local-cli-plugins/99912/5 "2017-07-28T08:20:27Z")

</div>

Thx for this feedback, furthermore the explanation in my issue, I now understand the why.

But still, the changelogs should be improved and not displaying that this as optional since it’s mandatory

---

<div class="post-metadata">

**Author:** ![Sujan12](https://sea1.discourse-cdn.com/ionicframework/user_avatar/forum.ionicframework.com/sujan12/32/108395_2.png) [@Sujan12](https://forum.ionicframework.com/u/Sujan12)\
**Post date:** [July 28, 2017, 8:29am UTC](https://forum.ionicframework.com/t/solved-no-local-cli-detected-starting-with-cli-3-6-the-cli-must-be-installed-locally-to-use-local-cli-plugins/99912/6 "2017-07-28T08:29:49Z")

</div>

Fair enough, that’s a valid point that will be taken care via your issue I think.

---

<div class="post-metadata">

**Author:** ![reedrichards](https://avatars.discourse-cdn.com/v4/letter/r/34f0e0/32.png) [@reedrichards](https://forum.ionicframework.com/u/reedrichards)\
**Post date:** [July 29, 2017, 4:35am UTC](https://forum.ionicframework.com/t/solved-no-local-cli-detected-starting-with-cli-3-6-the-cli-must-be-installed-locally-to-use-local-cli-plugins/99912/7 "2017-07-29T04:35:20Z")

</div>

CHANGELOG was updated, from now on, having Ionic CLI as local `--save-dev` dependency is a must

> <https://github.com/ionic-team/ionic-cli/blob/master/CHANGELOG.md>
