Software setup
Now we are going to set up all the required software needed to develop and run an Ionic app smoothly.
Install Node.js
Since Ionic uses Node.js for its CLI as well as for the build tasks, we will first install the same as follows:
Navigate to https://nodejs.org/.
Click on the Install button on the homepage and an installer for your OS will automatically be downloaded. Or you can navigate to https://nodejs.org/download/ and download a specific copy.
Install Node.js by executing the downloaded installer.
To verify that Node.js has been successfully installed, open a new Terminal (*nix
systems) or Prompt (Windows systems) and run the following command:
node -v
Now you should see the version of Node.js. Now execute the following command:
npm -v
You should see the npm version:
npm is a Node Package Manager that we will be using to download various dependencies for our Ionic Project.
Note
You need Node.js only during the development. The version specified in the preceding image is only...