ESA CLI is a command-line tool for building with Alibaba Cloud ESA Functions and Pages.
- Node.js: 18.x or higher (supports 18.x, 20.x, 22.x)
- OS: macOS (x86, Apple Silicon), Linux
- Recommended to use a Node version manager like Volta or nvm to avoid permission issues and easily switch Node.js versions.
To ensure consistent collaboration across your team, we recommend installing esa-cli as a dev dependency in your project. This helps everyone use the same version.
npm i -D esa-cli@latestAlternatively, install globally to use the esa-cli command system-wide:
npm i -g esa-cli@latestTip
When esa-cli is not previously installed, npx will fetch and run the latest version from the registry.
To check your ESA CLI version, run:
npx esa-cli --version
# or
npx esa-cli -vTo update ESA CLI to the latest version, run:
npm i -D esa-cli@latest