Package an AIX File | AIUI | Rokid

Build hello-aiui.aix and check that it contains the app manifest and page files. Start with the project from Create Your First AIUI Agent and use Node.js 20 or later.

Package an AIX File

Build hello-aiui.aix and check that it contains the app manifest and page files. Start with the project from Create Your First AIUI Agent and use Node.js 20 or later.

Complete the Example

Run these commands from the directory that contains the hello-aiui folder. The -o option writes the package to that directory.

npm install -g @yodaos-pkg/aix-cli

aix pack ./hello-aiui -o hello-aiui.aix
aix list ./hello-aiui.aix

Check that the list includes app.json and pages/index/index.ink.

Add .aixignore at the source root to exclude local files. See AIX CLI.

Next, preview the packaged agent or install it on glasses.