gluestack-ui-v4:setup

Install gluestack-ui v4 in Next.js or Expo projects via CLI or manual steps.

Updated Mar 2, 2026
One-click install
npx skills add https://github.com/xiaobuliukun/skills --skill gluestack-ui-v4-setup-xiaobuliukun
Or copy as Structured Prompt for Agent
Please help me install this Agent Skill.
Skill: gluestack-ui-v4:setup
Source: https://github.com/xiaobuliukun/skills/tree/main/gluestack-ui-v4/setup
Command: npx skills add https://github.com/xiaobuliukun/skills --skill gluestack-ui-v4-setup-xiaobuliukun

SYSTEM DOCUMENTATION & REQUIREMENTS

What problem does it solve?

This guide provides a safe, official path to install gluestack-ui v4, avoiding outdated v1/v2/v3 guidance and non-v4 packages.

Core Features & Use Cases

  • CLI-based setup to initialize GluestackUIProvider and essential components.
  • Manual installation path for environments without the CLI.
  • Clear prerequisites and constraints to ensure compatibility with Next.js and Expo projects.

Quick Start

Initialize your project with the CLI using npx gluestack-ui@alpha init -y, or follow the Manual installation steps on the v4 page.

Frequently Asked Questions about gluestack-ui-v4:setup

High-intent search queries and answers about installing and using this skill.

FAQPage Schema
How do I install gluestack-ui v4 in my Next.js project?

You can install gluestack-ui v4 in Next.js by running npx gluestack-ui@alpha init -y to initialize the provider, or by following the official manual setup steps to add essential components directly.

What is the safest way to set up gluestack-ui v4 without installing outdated packages?

The safest gluestack-ui v4 setup follows the official v4 documentation strictly, using either the CLI init path or manual steps, and explicitly avoids installing outdated v1, v2, or v3 packages.

Can I use the gluestack-ui CLI to set up v4 in an Expo project?

Yes, the gluestack-ui CLI supports Expo projects for v4 setup. You can run npx gluestack-ui@alpha init -y to automatically initialize the GluestackUIProvider and essential components in your Expo environment.

How do I manually install gluestack-ui v4 if the CLI setup fails?

Manual installation of gluestack-ui v4 requires following the official v4 documentation steps directly in your project to configure the GluestackUIProvider and add components without relying on the CLI initialization command.

Why should I avoid v1, v2, or v3 packages when installing gluestack-ui?

You must avoid v1, v2, and v3 packages because gluestack-ui v4 has specific installation requirements and constraints. Installing outdated packages breaks compatibility with Next.js and Expo environments following the v4 documentation.