Installation
Last updated
Was this helpful?
Last updated
Was this helpful?
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 , , and .
Get started building by or following our to learn the main concepts.
Before proceeding, make sure your computer has installed. See to set up an environment for Ionic.
Install the Ionic CLI with npm:
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 for more information.
To get started with Ionic Framework, the only requirement is a environment.
Of course, a code editor is also required:
: the fastest and easiest way to build Ionic apps
: a popular and free text editor made by Microsoft
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:
After installation, Locate Recommendations in the extension and do exactly what is shown:
To verify the installation, open a new terminal window and run:
Almost all tooling for modern JavaScript projects is based in . The has prebuilt installation packages for all platforms. We recommend selecting the LTS version to ensure best compatibility.
Node is bundled with , the package manager for JavaScript.
Although not required, the version control system is highly recommended.
Git is often accompanied by a Git Host, such as , in which case additional setup is required. Follow the tutorial from the Git Host's documentation to set up Git:
GitHub:
GitLab:
Bitbucket:
Otherwise, follow the . The command-line utility can be downloaded from the .
Git is a command-line utility, but there are many available. is recommended, and works well with GitHub.