Ionic is an open-source SDK for the hybrid mobile application development. You can also use Ionic framework for the web and desktop application development with single shared code. It enables faster development environment for the web developers. This article will help you to install Cordova and Ionic framework on Fedora systems.
Step 1 – Install Node.js
For the Ionic application development, systems must have node.js installed. Use the following commands to install NPM and Node.js on your system. You can visit our tutorial to install Node.js on Fedora systems.
sudo apt-get install python-software-properties curl -sL https://deb.nodesource.com/setup_8.x | sudo -E bash - sudo apt-get install nodejs
Step 2 – Install Cordova
Now use the following command to install Cordova on your system using npm command. It will install all other required node modules on your system.
sudo npm install -g cordova
Step 3 – Install Ionic Framework
Ionic provides command line utilities for creating packages, build and start applications. Use NPM command to install Ionic framework on your system.
sudo npm install -g [email protected]
After completing the installation of the Ionic framework, use following command to check installed version.
ionic -v 3.19.1
Step 4 – Getting Started with Ionic
Now, You need to create a new Cordova project on your computer using the following command.
ionic start HelloWorld blank
Now use one of the following commands to enable iOS or Android platform. iOS platform will work on MacOS only.
ionic platform add ios ionic platform add android
To start Ionic application using ionic serve command:
For more details visit http://ionicframework.com/docs/guide/installation.html