Loading...
Loading...
Use when creating a new Zeabur project. Use when deploying templates to a new project. Use when user says "create project", "new project", or "set up a new environment".
npx skill4agent add zeabur/agent-skills zeabur-project-createAlways useto invoke Zeabur CLI. Never usenpx zeabur@latestdirectly or any other installation method. Ifzeaburis not available, install Node.js first.npx
hnd1tpe1npx zeabur@latest server list -i=false --jsonzeabur-server-catalogzeabur-server-rentserver-server-<server-id><server-id>Some templates (e.g. with) can only be deployed on dedicated servers. If you getREQUIRE_DEDICATED_SERVER, rent a dedicated server and recreate the project with its region.Unsupported template (code: REQUIRE_DEDICATED_SERVER)
# Create project with name and region (region must be server-<server-id>)
npx zeabur@latest project create -n "<project-name>" -r "server-<server-id>" -i=false --json# List projects as JSON and extract project ID by name
PROJECT_ID=$(npx zeabur@latest project list -i=false --json | jq -r '.[] | select(.name == "<project-name>") | ._id')# Deploy template file to specific project (non-interactive)
npx zeabur@latest template deploy -i=false --json \
-f <template-file> \
--project-id <project-id> \
--var PUBLIC_DOMAIN=myapp \
--var KEY=value# 1. Find server ID
npx zeabur@latest server list -i=false --json
# 2. Create project (use server-<id> from step 1)
npx zeabur@latest project create -n "wrenai-prod" -r "server-<server-id>" -i=false --json
# 3. Get project ID
PROJECT_ID=$(npx zeabur@latest project list -i=false --json | jq -r '.[] | select(.name == "wrenai-prod") | ._id')
echo "Project ID: $PROJECT_ID"
echo "Dashboard: https://zeabur.com/projects/$PROJECT_ID"
# 4. Deploy template — use the `zeabur-template-deploy` skill for detailed flags and troubleshooting
npx zeabur@latest template deploy -i=false --json -f template.yml --project-id $PROJECT_ID --var PUBLIC_DOMAIN=myapp