Installation

Introduction to Ionic

Ionic is an open source UI toolkit for building performant, high-quality mobile apps using web technologies — HTML, CSS, and JavaScript — with integrations for popular frameworks like Angulararrow-up-right, Reactarrow-up-right, and Vuearrow-up-right.

Get started building by installing Ionicarrow-up-right or following our First App Tutorialarrow-up-right to learn the main concepts.

Before proceeding, make sure your computer has Node.jsarrow-up-right installed. See these instructionsarrow-up-right to set up an environment for Ionic.

Install the Ionic CLI with npm:

$ npm install -g @ionic/cli

The -g option means install globally. When packages are installed globally, EACCES permission errors can occur.

Consider setting up npm to operate globally without elevated permissions. See Resolving Permission Errorsarrow-up-right for more information.

Earrow-up-rightnvironment Setup

To get started with Ionic Framework, the only requirement is a Node & npmarrow-up-right environment.

Of course, a code editor is also required:

Almost all tooling for modern JavaScript projects is based in Node.jsarrow-up-right. The download pagearrow-up-right has prebuilt installation packages for all platforms. We recommend selecting the LTS version to ensure best compatibility.

Node is bundled with npmarrow-up-right, the package manager for JavaScript.

To verify the installation, open a new terminal window and run:

Make sure your project has the following setup when you run the above commands:

Or you can locate ionic extension using vscode:

Select the ionic extension

After installation, Locate Recommendations in the extension and do exactly what is shown:

Although not required, the version control system Gitarrow-up-right is highly recommended.

Git is often accompanied by a Git Host, such as GitHubarrow-up-right, in which case additional setup is required. Follow the tutorial from the Git Host's documentation to set up Git:

Otherwise, follow the official installation instructionsarrow-up-right. The command-line utility can be downloaded from the download pagearrow-up-right.

To verify the installation, open a new terminal window and run:

Git is a command-line utility, but there are many GUI clientsarrow-up-right available. GitHub Desktoparrow-up-right is recommended, and works well with GitHub.

Last updated

Was this helpful?