How To Install Ionic Framework on Debian 10

Install Ionic Framework on Debian 10

In this tutorial, we will show you how to install Ionic Framework on Debian 10. For those of you who didn’t know, Ionic is an open-source framework that can be used for developing hybrid mobile apps using Web technologies like CSS, HTML5, and Sass. The Ionic CLI is the preferred method of installation, as it offers a wide range of dev tools and helps options along the way. It is also the main tool through which to run the app and connect it to other services, such as App flow.

This article assumes you have at least basic knowledge of Linux, know how to use the shell, and most importantly, you host your site on your own VPS. The installation is quite simple and assumes you are running in the root account, if not you may need to add ‘sudo‘ to the commands to get root privileges. I will show you through the step-by-step installation of the Ionic Framework on a Debian 10 (Buster).

Install Ionic Framework on Debian 10 Buster

Step 1. Before running the tutorial below, it’s important to make sure your system is up to date by running the following apt commands in the terminal:

sudo apt update

Step 2. Installing Node.js.

You must have Node.js installed on your system. Use the following commands to install NPM and Node.js:

sudo apt-get install python-software-properties
curl -sL https://deb.nodesource.com/setup_10.x | sudo -E bash -
sudo apt install nodejs

Step 3.  Installing Cordova.

To install Cordova in our server globally using the following npm command. It will install all other required node modules on your system:

sudo npm install -g cordova

Step 4. Installing Ionic Framework on Debian 10.

Ionic comes with a convenient command-line utility to start, build, and package Ionic apps. You can install it by just running the following command:

sudo npm install -g ionic

After completing the installation of the Ionic Framework, verify the version of the Ionic Framework using the following command below:

ionic -v

Step 5. Create Application with Ionic.

Now we create a new Cordova project on your computer using the following command:

ionic start HelloWorld blank

After that, change the directory to the HelloWorld and list the contents:

cd HelloWorld

Next, enable the Android platform and building the project for Android with the following command:

ionic platform add android
ionic cordova build android
ionic cordova emulate android

Congratulations! You have successfully installed Ionic. Thanks for using this tutorial for installing the latest version of the Ionic Framework on the Debian system. For additional help or useful information, we recommend you check the official Ionic website.

VPS Manage Service Offer
If you don’t have time to do all of this stuff, or if this is not your area of expertise, we offer a service to do “VPS Manage Service Offer”, starting from $10 (Paypal payment). Please contact us to get the best deal!