How to Install Ionic Framework on Fedora 32/31/30
Abstract: build and start applications. Use NPM command to install the Ionic framework on the Fedora system. sudo npm install -g [email protected]Step 2 – Insta
Ionic is an open-source SDK for the hybrid mobile application development. You can also use the Ionic framework for the web and desktop application development with a 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.jsFor 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 dnf install -y gcc-c++ make curl -sL https://rpm.nodesource.com/setup_12.x | sudo -E bash - sudo dnf install nodejsStep 2 – Install Cordova on Fedora
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 cordovaStep 3 – Install Ionic Framework
Ionic provides command-line utilities for creating packages, build and start applications. Use NPM command to install the Ionic framework on the Fedora system.
sudo npm install -g [email protected]
After completing the installation of the Ionic framework, use the following command to check the installed version.
ionic -v 5.4.16Step 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:
ionic serve
For more details visit http://ionicframework.com/docs/guide/installation.html