Signup for the Ionic Newsletter to get the latest news and updates!

  • Stefan Huber

    Hmm. How to run “ionic test”?

  • Slash

    I know it is in beta status, but should we use it also for production environments? Or only play around in dev?

    • yesimahuman

      You’re free to use it in production, and we’re free to make breaking changes while it’s in beta 😀

  • Rodney

    Good job guys – my build time went from 30 seconds on average down to 5s!

  • Appie

    That sounds great! as the CLI experience has been very lacking.

  • olivier cherrier

    Thank you very much Guy. I already support ionic 2 in beta so i will wait the stable version for clients v3 😉

  • Rajkiran Panuganti

    npm install –[email protected]/[email protected] fails for me. How do I go back ? (I don’t know which version I had)

    • Dave

      install the latest node js from here:

      fixed the same error for me.


      to check version:
      ionic –version

  • Nick Bistrov

    As for me it somehow takes longer time than v2

    [16:25:46] watch started …
    [16:25:46] build dev started …
    [16:25:46] clean started …
    [16:25:46] clean finished in 2 ms
    [16:25:46] copy started …
    [16:25:46] transpile started …
    [16:26:01] transpile finished in 14.48 s
    [16:26:01] preprocess started …
    [16:26:01] preprocess finished in 8 ms
    [16:26:01] webpack started …
    [16:26:01] copy finished in 15.05 s
    [16:26:32] webpack finished in 31.50 s
    [16:26:32] sass started …
    [16:26:34] sass finished in 1.57 s
    [16:26:34] postprocess started …
    [16:26:34] postprocess finished in 1 ms
    [16:26:34] lint started …
    [16:26:34] build dev finished in 47.62 s
    [16:26:34] watch ready in 47.81 s
    [16:26:34] dev server running: http://localhost:8100/

    [16:26:39] lint finished in 5.71 s
    ✔ Executing cordova command: cordova run ios –device – done!
    [16:27:16] console.log: deviceready has not fired after 5 seconds.

  • anil

    I have been waiting for ionic slide tabs in header like

    still no component was created by ionic Team
    atleast in next release we are expecting this component

  • Michael Mammut

    CLI 3 works very well!! 🙂 Thank you !!

  • hossam_hawary

    what if I need to run something after build or after serve??

    • LeRoy Gumede

      use Hooks

  • Simon Dowdles

    I am not sure if it was just a dependency issue for me when test driving the beta3 CLI (as I updated within an existing Ionic project), but when the build failed due to Typescript errors, I got zero indication of the problem, not even that it was a Typescript fail. Even with the –debug flag. I only know that it was a Typescript compilation / transpilation issue becuase v2 of the CLI told me so 🙂

  • Sandeep Tiwari

    after updating the above verson of ionic cli , i am unable to install ionic native plugines , why am i facing this trouble while installing the native plugin it shows -“[ERROR] Unknown plugin: @ionic/cli-plugin-.” , help me


      try running:
      npm install -g [email protected]
      npm uninstall @ionic/cli-plugin-core @ionic/cli-build-ionic-angular
      npm install –save-dev @ionic/cli-plugin-ionic-angular @ionic/[email protected]
      ionic serve

  • Jason Japutra

    const [configData, cliInfo] = yield Promise.all([

    SyntaxError: Unexpected token [
    at exports.runInThisContext (vm.js:53:16)
    at Module._compile (module.js:387:25)
    at Object.Module._extensions..js (module.js:422:10)
    at Module.load (module.js:357:32)
    at Function.Module._load (module.js:314:12)
    at Timeout.Module.runMain [as _onTimeout] (module.js:447:10)
    at tryOnTimeout (timers.js:224:11)
    at Timer.listOnTimeout (timers.js:198:5)

    I got this error when running ionic command
    Can anyone help?

  • Peter Scott

    is there a rollback approach .. I think i was a little impulsive jumping in for the beta .. have spent about 8 hours trying to get build of work in progress to work properly .. my ionic3 project is now on hold as I am focussed full time on trying to get serve and build to work reliably –

    Your system information:

    Cordova CLI: 6.5.0
    Ionic Framework Version: 3.0.1
    Ionic CLI Version: 3.0.0-beta7
    ios-deploy version: 1.9.1
    ios-sim version: 5.0.13
    OS: macOS Sierra
    Node Version: v6.9.5
    Xcode version: Xcode 8.3.1 Build version 8E1000a

    npm -version 4.4.4

    have resorted to just copy and pasting update, uninstall and re-install commands but feel like I’m just creating a bigger mess. Maybe worth alerting people that this is a beta and may not work as expected.

  • Nix

    How do you report when you feel like you have found it?

  • Rafał Walus

    v3 …. Good job! TY!!

  • Ogdan

    Somehow I can’t use any starter via github download …
    Is that me or cli 3?

    C:UsersDemoUserDevelopmentsteroidsProjects>ionic start testapp –v2
    TypeError: Cannot read property ‘private’ of undefined
    at inputs.filter (C:[email protected]ccli-utilsdistlibcommandcommand.js:91:31)
    at Array.filter (native)
    at StartCommand.getCleanInputsForTelemetry (C:[email protected]ccli-utilsdistlibcommandcommand.js:90:18)
    at StartCommand. (C:[email protected]ccli-utilsdistlibcommandcommand.js:63:48)
    at next (native)
    at fulfilled (C:[email protected]ccli-utilsdistlibcommandcommand.js:4:58)

  • Subhash

    I am working on a project in Ionic 3 with hundreds of lazy load modules. When I used to do ionic serve in CLI v2 watch mode, if I modify any files, the modules(chunks) related to only those files used to be transpiled and updated again. But in CLI v3, it is building the whole project again which is resulting in long build time during watch mode. Any ideas regarding this?

  • Gianfranco Palumbo

    what was the easter egg? 🐰 🥚

  • Nix

    Any word on a potential stable release date? I’m looking to start the process of migrating our build process to the new CLI but i dont want to start it if it’s not going to be released in the next month or 2.

  • Constantin

    I am recieving a peerDependency for [email protected]^3.0.1 Does anyone know how this can be fixed? Thank you

  • Steve Melnikoff

    Quick comment about using CLI 3 (which is the Ferarri of CLIs) with legacy ionic-1 projects. I was testing integration of the ionic auth service by following the ionic services setup docs: . After installing @ionic/cloud, which went fine, I moved on to initializing via a new app added to my ionic dashboard. The (ionic 1) setup docs instruct to run: ionic io init … but CLI 3 comes back with: ‘Unable to find command: io init’. Not a big deal as I can take care of the task directly in the dashboard, and then update my ionic.config.json by hand. But, assuming that I have done things correctly, I thought (as you folks at ionic take pride in your work) you might want to know and update the docs. TIA.

    • Felipe Arias

      Could you elaborate on how you take care of the task directly in the dashboard and then update the ionic.config.json?

  • Dov

    please post code example of exactly what needs to be done. wasted hours trying to understand how to do it right and hours to revert back to what worked before. very confusing.

  • Rasmus Hartvig

    CLI3 command “ionic cordova run ios -lc” (the LC switch in particular) seems to cause an outbound network request. We’re on a corp network where this causes command to hang.
    This also happens using ionic serve. Previous version of CLI worked fine.