# How can I use older version Ionic? (v1 or v2)

**URL:** <https://forum.ionicframework.com/t/how-can-i-use-older-version-ionic-v1-or-v2/109216>\
**Category:** ionic-v1\
**Created:** [October 18, 2017, 3:36am UTC](https://forum.ionicframework.com/t/how-can-i-use-older-version-ionic-v1-or-v2/109216 "2017-10-18T03:36:31Z")\
**Posts on this page:** 4\
**Page:** 1

<div class="post-metadata">

**Author:** ![udesign48](https://avatars.discourse-cdn.com/v4/letter/u/bbce88/32.png) [@udesign48](https://forum.ionicframework.com/u/udesign48)\
**Post date:** [October 18, 2017, 3:36am UTC](https://forum.ionicframework.com/t/how-can-i-use-older-version-ionic-v1-or-v2/109216/1 "2017-10-18T03:36:31Z")

</div>

Hello everyone,

Is there a way to install older version Ionic based on JavaScript?  
I’m surprised by poor support of Javascript on Ionic 3. Even just copying and pasting javascript code onto Ionic 3 home.html file doesn’t work at all. I’m not confident I can convert all existing javascript libraries and codes into typescript for Ionic 3.

If Ionic 2, which is based on Javascript, is more flexible with javascript, I would like to build my project based on ionic 2.  
How can I install Ionic v2 and will it run fine with Ionic 3 CLI?

---

<div class="post-metadata">

**Author:** ![LoLStats](https://sea1.discourse-cdn.com/ionicframework/user_avatar/forum.ionicframework.com/lolstats/32/103165_2.png) [@LoLStats](https://forum.ionicframework.com/u/LoLStats)\
**Post date:** [October 18, 2017, 5:36am UTC](https://forum.ionicframework.com/t/how-can-i-use-older-version-ionic-v1-or-v2/109216/2 "2017-10-18T05:36:44Z")

</div>

Ionic 2 uses Angular 2 and TyleScript and not plane JS…  
And why do you want to add JS code into your templates? You should add is to your controller.

If you want to use Ionic V1 read the CLI docs.

Btw I’m using JS libs without any problems in my ionic projects.

And please stop opening more posts about your problem. This is number 4…

---

<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:** [October 18, 2017, 9:10am UTC](https://forum.ionicframework.com/t/how-can-i-use-older-version-ionic-v1-or-v2/109216/3 "2017-10-18T09:10:13Z")

</div>

> [@udesign48](#):
>
> and will it run fine with Ionic 3 CLI?

Ionic CLI runs all versions of Ionic Framework. Read the docs how.

---

<div class="post-metadata">

**Author:** ![udesign48](https://avatars.discourse-cdn.com/v4/letter/u/bbce88/32.png) [@udesign48](https://forum.ionicframework.com/u/udesign48)\
**Post date:** [October 18, 2017, 2:14pm UTC](https://forum.ionicframework.com/t/how-can-i-use-older-version-ionic-v1-or-v2/109216/4 "2017-10-18T14:14:06Z")

</div>

Thanks!

[![](http://www.pngall.com/wp-content/uploads/2016/06/Dinosaur-PNG-File.png) ](http://www.pngall.com/wp-content/uploads/2016/06/Dinosaur-PNG-File.png)
