# How to Automatically Generate Icons and Splash Screens With the Ionic CLI

**URL:** <https://forum.ionicframework.com/t/how-to-automatically-generate-icons-and-splash-screens-with-the-ionic-cli/94856>\
**Category:** tutorials\
**Created:** [June 18, 2017, 2:51pm UTC](https://forum.ionicframework.com/t/how-to-automatically-generate-icons-and-splash-screens-with-the-ionic-cli/94856 "2017-06-18T14:51:39Z")\
**Posts on this page:** 5\
**Page:** 1

<div class="post-metadata">

**Author:** ![matthew974](https://sea1.discourse-cdn.com/ionicframework/user_avatar/forum.ionicframework.com/matthew974/32/109232_2.png) [@matthew974](https://forum.ionicframework.com/u/matthew974)\
**Post date:** [June 18, 2017, 2:51pm UTC](https://forum.ionicframework.com/t/how-to-automatically-generate-icons-and-splash-screens-with-the-ionic-cli/94856/1 "2017-06-18T14:51:39Z")

</div>

One of the most crucial tasks before submitting our dear applications to the app store: creating the icons and splash screens that will look nice on the 24000+ possible mobile devices (yep that’s a big number).  
We will see in this tutorial how to automatically do this using the Ionic CLI.

[https://www.javascripttuts.com/how-to-automatically-generate-icons-and-splash-screens-with-the-ionic-cli/](https://www.javascripttuts.com/how-to-automatically-generate-icons-and-splash-screens-with-the-ionic-cli/)

---

<div class="post-metadata">

**Author:** ![neomib](https://sea1.discourse-cdn.com/ionicframework/user_avatar/forum.ionicframework.com/neomib/32/121999_2.png) [@neomib](https://forum.ionicframework.com/u/neomib)\
**Post date:** [June 18, 2017, 2:58pm UTC](https://forum.ionicframework.com/t/how-to-automatically-generate-icons-and-splash-screens-with-the-ionic-cli/94856/2 "2017-06-18T14:58:01Z")

</div>

I didn’t see you wrote the actual command: `ionic resources` or did I miss it 😊😊

---

<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:** [June 18, 2017, 3:11pm UTC](https://forum.ionicframework.com/t/how-to-automatically-generate-icons-and-splash-screens-with-the-ionic-cli/94856/3 "2017-06-18T15:11:09Z")

</div>

He did.

```auto
ionic cordova resources

```

---

<div class="post-metadata">

**Author:** ![matthew974](https://sea1.discourse-cdn.com/ionicframework/user_avatar/forum.ionicframework.com/matthew974/32/109232_2.png) [@matthew974](https://forum.ionicframework.com/u/matthew974)\
**Post date:** [June 18, 2017, 3:37pm UTC](https://forum.ionicframework.com/t/how-to-automatically-generate-icons-and-splash-screens-with-the-ionic-cli/94856/4 "2017-06-18T15:37:46Z")

</div>

Looks like you searched for the “old” CLI command:

```auto
ionic resources

```

The new CLI now split the commands, many of them now add “cordova”:

```auto
ionic cordova build
ionic cordova run
ionic cordova resources

```

Basically everything that is related to devices.

---

<div class="post-metadata">

**Author:** ![vithika](https://sea1.discourse-cdn.com/ionicframework/user_avatar/forum.ionicframework.com/vithika/32/109466_2.png) [@vithika](https://forum.ionicframework.com/u/vithika)\
**Post date:** [June 19, 2017, 5:09am UTC](https://forum.ionicframework.com/t/how-to-automatically-generate-icons-and-splash-screens-with-the-ionic-cli/94856/5 "2017-06-19T05:09:50Z")

</div>

In my case only  
"cordova resources" a worked well to generate icons and splash screen.
