Ionic is an “open source UI toolkit for building performant, high-quality mobile and desktop apps using web technologies”.
I use it to explore building native apps for iOs and Android using Angular.
Ionic has a CLI (command line interface) to scaffold a project.
If you want to use pnpm, run the following command in your terminal to create a new project:
pnpm --package=@ionic/cli dlx ionic start \
pnpm dlx fetches packages from the registry without installing them as a dependency. It is the equivalent to
The CLI will use
pnpm to install packages, too.
If you encounter problems later, you can also manually set the package manager in your project:
pnpm exec ionic config set -g npmClient pnpm
The above command assumes that the ionic CLI is a dev dependency inside