Set Up Local Environment
This guide includes instructions for setting up a local environment for UI Extension development.
To create UI Extension you must install:
- NodeJS [>= v14]. It should also install
npm
together. We recommend using nvm to manage NodeJS installation and versions on your machine. - AIO (Adobe I/O) CLI (Command Line Interface) [>= v9.1.0]
If your extension needs some server-side logic and you want to be able to use aio app run --local
to run the application locally without deploying code to Adobe I/O Runtime you will also need:
- Java Development Kit (JDK) [>= v11].
- Docker.
Manage AIO CLI Tool
Run the following command to install the latest version of AIO CLI if not installed.
Copied to your clipboardnpm install -g @adobe/aio-cli
If you already have AIO CLI on your machine, you can find out the version with the following command.
Copied to your clipboardnpm show @adobe/aio-cli version
If your AIO CLI is outdated, update it by running the following command.
Copied to your clipboardnpm install -g @adobe/aio-cli
Optional tools
The following set up is required if you intend to use the local development features provided by the AIO CLI:
- Visual Studio Code (VS Code) as the supported IDE for editor, debuggger, etc. You can use any other IDE as a code editor, but advanced usage (e.g. debugger) is not yet supported.
- Chrome debugger extension in VSCode