Installation
Get Weaverse installed and running in your Shopify Hydrogen project quickly and easily.🚀 New to Weaverse? Try our 5-Minute Quickstart for the fastest setup experience.
Prerequisites
- Node.js 18+ - Download here
- A Shopify store - Development store or paid plan
- Basic terminal knowledge - For running commands
Installation Methods
Method A: Via Weaverse App (Recommended)
Best for: New users, quick setup, guided experience- Install Weaverse App: Visit https://apps.shopify.com/weaverse
- Create Project: Open app → “Get Started” → Choose theme (Pilot recommended)
- Run Generated Command: Copy and run the custom CLI command provided
Method B: Direct CLI Installation
If you have a Weaverse Project ID:pilot, naturelle, minimal
Method C: GitHub Clone
For developers who want git history:Configuration
Required Environment Variables
Getting API Tokens
For paid stores: Install Hydrogen app (https://apps.shopify.com/hydrogen) then runnpx shopify hydrogen env pull
For development stores: Use Headless app (https://apps.shopify.com/headless) or create a custom app with Storefront API access
Session Secret: Generate with node -e "console.log(require('crypto').randomBytes(32).toString('hex'))"
Verification
After installation:- Start server:
npm run dev - Check storefront: Visit
http://localhost:3456 - Access Studio: Go to
https://studio.weaverse.io/projects/your-project-id - Test editing: Make changes in Studio and verify they appear
Common Issues
CLI Command Fails
- Ensure Node.js 18+ installed:
node --version - Clear npm cache:
npm cache clean --force
Studio Preview Not Loading
- Verify dev server runs on port 3456
- Check browser console for errors
- Ensure no firewall blocks the port
Environment Variables Not Working
- Ensure
.envfile is in project root - Restart dev server after changes
- Check variable names are exact (case-sensitive)
Component Development Basics
After installation, you can start building custom sections. Here’s a simple example:Development Workflow
- Create component in
app/sections/orapp/components/ - Define schema with configurable properties
- Register in
weaverse.config.ts - Test in Studio at
https://studio.weaverse.io/projects/your-project-id
Next Steps
- Core Concepts - Understand how Weaverse works
- Development Guide - Build custom sections
- API Reference - Complete API documentation