How to install antvis/G2. Official installation instructions. Project installation guide. Framework or library installation. Build installation instructions. How to setup and install from GitHub. Installation steps and setup instructions. Official docs and installation instructions GitHub.
antvis/G2 Installation Guide
How to install antvis/G2. Official project installation instructions and setup guide.
⚡
Automated Install (Recommended)
Quick installation instructions for antvis/G2. This is the fastest way to complete project installation and setup.
Install via curl
curl -fsSL https://hexmos.com/ipm-install | bash &&
ipm i antvis/G2or
Install via npx
npx @hexmos/ipm i antvis/G2Prerequisites
Node.js
system_toolVersion: >= 16.0.0
npm
package_managerVersion: 8.1.0
Yarn
package_managerVersion: 2.0.2
Git
system_toolVersion: 2.34.1
Manual Installation Methods
Manual installation instructions. How to install from GitHub source.
Package Manager (npm)
npm install @antv/g2Package Manager (Yarn)
yarn add @antv/g2Install Dependencies
npm installPost Installation Steps
- Open your browser and navigate to http://localhost:8080/ to view the dashboard.
- You can also access the API endpoint at http://localhost:8080/api/v1/
- To start a new project, run `npm start` in your terminal.
