Piral CLI (Command Line Interface) is the essential toolkit for developing microfrontends within the Piral framework. It empowers developers to scaffold new Piral instances (the host shell application) and individual Pilets (the microfrontend modules), and to manage their lifecycle including building, debugging, and deploying. The current stable version is 1.10.3, with a release cadence that includes frequent patch and minor updates to incorporate bug fixes, dependency upgrades, and enhance compatibility with evolving frontend frameworks like Angular and React. Its key differentiators include a bundler-agnostic architecture supporting popular tools such as Webpack, Vite, and Esbuild, strong TypeScript integration, and comprehensive features for orchestrating independently deployable microfrontends, including shared dependencies and dynamic runtime updates.
npm install piral-cliVerified import paths — ran on the pinned version, not inferred.
Demonstrates how to create a new Piral instance (host application) and a Pilet (microfrontend), then run them in debug mode.
Upgrade Node.js to version 18.17 or higher. We recommend using `nvm` to manage Node.js versions.
Refer to the `piral-ng` documentation and release notes for the exact `piral-cli` version compatibility with your Angular project's version. Update `piral-cli` and `piral-ng` in tandem.
Review and update any custom error handling or event listeners that access the `container` property of the `unhandled-error` event arguments.
Ensure `piral-cli` is updated to at least version 1.8.2 or later to benefit from fixes to Windows command-line parsing.
Install globally: `npm install -g piral-cli`, or use `npx` to run commands: `npx piral [command]`.
Upgrade Node.js to version 18.17 or higher. Use `nvm install 18` and `nvm use 18` (or your preferred version manager).
Check the `piral-ng` documentation and changelog for known issues and required `piral-cli` versions for your Angular version. Ensure consistent `@angular/core` versions across your Piral instance and pilets.
No dependency data recorded yet.