Create Sample App using npx¶
To create a working sample Elyra Canvas application without having to install anything use the create-elyra-canvas-app module with the npx command.
npx create-elyra-canvas-app
The tool will walk you through a short set of questions (node display format, link type, snap-to-grid, etc.) and then create the project in a new directory. To accept all defaults without being prompted, pass the -y flag:
npx create-elyra-canvas-app -y
Once the project has been created enter these commands:
cd elyra-canvas-app <or cd to your app name>
npm run dev
This opens the application at http://localhost:5173.