注意:终端关闭,应用也会关闭。
- n8n启动
$ nohup n8n > ~/myapps/n8n/n8n.log 2>&1 < /dev/null &
启动后请访问 http://localhost:5678/
2. Chrome CDP 模式启动
$ nohup /Applications/Google\ Chrome.app/Contents/MacOS/Google\ Chrome \
--remote-debugging-port=9222 \
--user-data-dir=/Users/chengxinsun/agentql/agentql-apps/apps/output/user_data_dir \
--lang=en-US \
--timezone=America/Los_Angeles \
--disable-geolocation \
--disable-shared-workers \
>/Users/chengxinsun/myapps/chrome_cdp/output/chrome.log 2>&1 < /dev/null &
时区: –timezone=Asia/Singapore, –timezone=Europe/Berlin,用9222端口连接