🚀 快速开始

NeoWeb AI 专为 macOS 深度优化。全自动安装,3 分钟内启动你的私人 Web4 AI 助手。

系统要求

项目要求
操作系统macOS 11 (Big Sur) 或更高版本
芯片Apple Silicon (M1/M2/M3/M4) 或 Intel
Node.js18.0.0 或更高版本
内存最低 512MB,建议 2GB+
磁盘空间最低 200MB
网络需要访问 AI 模型 API

一键安装

打开 终端(Terminal),粘贴以下命令:

bash
curl -fsSL https://ai.neowebai.com/install.sh | bash

安装脚本会自动完成:

  • 检测并安装 Node.js(如果未安装,通过 Homebrew 或 nvm 自动安装)
  • 下载最新版本并解压到 ~/NeoWeb-AI/
  • 安装依赖,配置 pm2 开机自启
  • 自动打开浏览器访问 http://localhost:3001

手动安装(可选)

如需完全控制安装过程:

bash
# 1. 确认 Node.js 版本
node -v  # 需要 v18+,否则:brew install node

# 2. 下载并解压
curl -fsSL https://ai.neowebai.com/api/version | python3 -c "import sys,json;d=json.load(sys.stdin);print(d['url'])"
# 解压到 ~/NeoWeb-AI/

# 3. 安装依赖并启动
cd ~/NeoWeb-AI && npm install && npm run start

首次使用

  1. 安装完成后访问 http://localhost:3001
  2. 进入 设置 → 模型配置,添加你的 AI 模型(支持 Claude、GPT、本地 Ollama 等)
  3. 返回主界面,开始对话
💡 提示:首次使用建议先配置一个模型,否则 AI 无法回复。推荐使用 Claude Sonnet 或本地 Ollama 模型(完全免费)。

日常运维

bash
# 查看状态
pm2 status

# 重启服务
pm2 restart neoweb-ai

# 查看日志
pm2 logs neoweb-ai --lines 50

# 停止服务
pm2 stop neoweb-ai

# 开机自启(已由安装脚本配置)
pm2 startup && pm2 save

更新

NeoWeb AI 会在后台自动检查更新(每 4 小时一次)。你也可以在 UI 右上角手动触发更新,或在终端运行:

bash
curl -fsSL https://ai.neowebai.com/install.sh | bash

卸载

bash
pm2 stop neoweb-ai && pm2 delete neoweb-ai
rm -rf ~/NeoWeb-AI

🚀 Quick Start

NeoWeb AI is deeply optimized for macOS. Full auto-install, your private Web4 AI agent up and running in 3 minutes.

Requirements

ItemRequirement
OSmacOS 11 (Big Sur) or later
ChipApple Silicon (M1/M2/M3/M4) or Intel
Node.js18.0.0 or higher
RAM512MB minimum, 2GB+ recommended
Disk200MB minimum
NetworkAccess to AI model API required

One-Click Install

Open Terminal and paste:

bash
curl -fsSL https://ai.neowebai.com/install.sh | bash

The script automatically:

  • Detects and installs Node.js (via Homebrew or nvm if missing)
  • Downloads and extracts the latest version to ~/NeoWeb-AI/
  • Installs dependencies and sets up pm2 auto-start
  • Opens your browser to http://localhost:3001

First Use

  1. Visit http://localhost:3001
  2. Go to Settings → Models and add your AI model (Claude, GPT, local Ollama, etc.)
  3. Start chatting

Operations

bash
# Check status
pm2 status

# Restart
pm2 restart neoweb-ai

# View logs
pm2 logs neoweb-ai --lines 50

# Stop
pm2 stop neoweb-ai

Update

bash
curl -fsSL https://ai.neowebai.com/install.sh | bash