Step 1. Install NodeJs
Verify the NodeJs is installed by running below command (I am assuming you’re Windows user)-
Step 2. Install Ionic CLI
You can now install the Ionic Framework globally on your machine. Run below command to install the latest Ionic Framework on machine-
npm install -g ionic
Verify the Ionic CLI is installed on your machine (Assuming you’re Windows user)-
Step 3. Start an app
There are many ready made templates provided by Ionic Official site like Tab, Sidemenu and many more. Let’s create a sample project with sidemenu template. Run below command to generate the template-
ionic start sideMenuSample sidemenu
Step 4. Run the application
You have created a basic side menu project in Ionic. Now its time to run the application and see how it looks on browser. Run below command to start the project-
The above command will open http://localhost:8100 URL on browser and you will see the project running on browser.
Please Note: This is only a web view of the application. When you build and run the application on phone, it will look more like a mobile application then.