AutoSci 部署指南

Windows安装

GitHub – skyllwt/AutoSci: Karpathy’s LLM-Wiki vision, fully realized — wiki-centric full-lifecycle AI research platform powered by Claude Code · GitHub

git clone -b main https://github.com/skyllwt/AutoSci.git
cd AutoSci
npm install -g @anthropic-ai/claude-code
claude login
claude
# Then type: /init [your-research-topic]

上面代码执行到“npm install -g @anthropic-ai/claude-code”会报错:

npm安装就是有一堆问题解决方案:

Windows上安装Claude Code CLI

配置第三方API

cc switch

Claude Code 首次启动引导界面

AutoSci-部署指南

 

真实部署启动历史命令

PS C:\Users\gao> Select-String -Path (Get-PSReadLineOption).HistorySavePath -Pattern "AutoSci"

AppData\Roaming\Microsoft\Windows\PowerShell\PSReadLine\ConsoleHost_history.txt:237:git clone -b main https://github.com/skyllwt/AutoSci.git
AppData\Roaming\Microsoft\Windows\PowerShell\PSReadLine\ConsoleHost_history.txt:238:cd AutoSci
AppData\Roaming\Microsoft\Windows\PowerShell\PSReadLine\ConsoleHost_history.txt:282:cd .\AutoSci\
AppData\Roaming\Microsoft\Windows\PowerShell\PSReadLine\ConsoleHost_history.txt:286:cd ..\..\AutoSci\
AppData\Roaming\Microsoft\Windows\PowerShell\PSReadLine\ConsoleHost_history.txt:290:cd ..\..\AutoSci\u
AppData\Roaming\Microsoft\Windows\PowerShell\PSReadLine\ConsoleHost_history.txt:291:cd ..\..\AutoSci\
AppData\Roaming\Microsoft\Windows\PowerShell\PSReadLine\ConsoleHost_history.txt:294:cd ..\..\AutoSci\
AppData\Roaming\Microsoft\Windows\PowerShell\PSReadLine\ConsoleHost_history.txt:296:cd ..\..\AutoSci\
AppData\Roaming\Microsoft\Windows\PowerShell\PSReadLine\ConsoleHost_history.txt:308:git clone -b main https://github.com/skyllwt/AutoSci.git
AppData\Roaming\Microsoft\Windows\PowerShell\PSReadLine\ConsoleHost_history.txt:324:cd ..\..\AutoSci\
AppData\Roaming\Microsoft\Windows\PowerShell\PSReadLine\ConsoleHost_history.txt:326:cd ..\..\AutoSci\
AppData\Roaming\Microsoft\Windows\PowerShell\PSReadLine\ConsoleHost_history.txt:329:cd ..\..\AutoSci\
AppData\Roaming\Microsoft\Windows\PowerShell\PSReadLine\ConsoleHost_history.txt:332:cd ..\..\AutoSci\
AppData\Roaming\Microsoft\Windows\PowerShell\PSReadLine\ConsoleHost_history.txt:366:cd ..\..\AutoSci\
AppData\Roaming\Microsoft\Windows\PowerShell\PSReadLine\ConsoleHost_history.txt:368:Set-Location -LiteralPath 'C:/Users/gao/.codex/worktrees/cdf5/A
utoSci/.'; .\.venv\Scripts\python.exe tools\serve.py --port 8877
AppData\Roaming\Microsoft\Windows\PowerShell\PSReadLine\ConsoleHost_history.txt:370:Set-Location -LiteralPath 'C:/Users/gao/.codex/worktrees/cdf5/A
utoSci/.'; .\.venv\Scripts\python.exe tools\serve.py --port 8877
AppData\Roaming\Microsoft\Windows\PowerShell\PSReadLine\ConsoleHost_history.txt:371:Set-Location -LiteralPath 'C:/Users/gao/.codex/worktrees/0909/A
utoSci/.'; .\.venv\Scripts\python.exe tools\serve.py --port 8877
AppData\Roaming\Microsoft\Windows\PowerShell\PSReadLine\ConsoleHost_history.txt:373:Set-Location -LiteralPath 'C:/Users/gao/.codex/worktrees/0909/A
utoSci/.'; .\.venv\Scripts\python.exe tools\serve.py --port 8877
AppData\Roaming\Microsoft\Windows\PowerShell\PSReadLine\ConsoleHost_history.txt:425:cd .\AutoSci\
AppData\Roaming\Microsoft\Windows\PowerShell\PSReadLine\ConsoleHost_history.txt:434:cd ..\..\AutoSci\
AppData\Roaming\Microsoft\Windows\PowerShell\PSReadLine\ConsoleHost_history.txt:436:cd ..\..\AutoSci\
AppData\Roaming\Microsoft\Windows\PowerShell\PSReadLine\ConsoleHost_history.txt:441:Select-String -Path (Get-PSReadLineOption).HistorySavePath -Pat
tern "AutoSci"
AppData\Roaming\Microsoft\Windows\PowerShell\PSReadLine\ConsoleHost_history.txt:455:Select-String -Path (Get-PSReadLineOption).HistorySavePath -Pat
tern "AutoSci"

PS C:\Users\gao> $h=(Get-PSReadLineOption).HistorySavePath
PS C:\Users\gao> $i=0
PS C:\Users\gao> Get-Content $h | ForEach-Object {
>>     $i++
>>     if($i -ge 237 -and $i -le 310){
>>         "{0}: {1}" -f $i,$_
>>     }
>> }
237: git clone -b main https://github.com/skyllwt/AutoSci.git
238: cd AutoSci
239: npm install -g @anthropic-ai/claude-code
240: claude login
241: claude
242: npm uninstall -g @anthropic-ai/claude-code
243: where claude
244: npm cache clean --force
245: node -p "process.arch"
246: npm install -g @anthropic-ai/claude-code
247: claude --version
248: npm config get registry
249: Get-Item "$env:APPDATA\npm\node_modules\@anthropic-ai\claude-code\bin\claude.exe" | Format-List Length
250: npm config get registry
251: npm uninstall -g @anthropic-ai/claude-code
252: where claude
253: Remove-Item "$env:APPDATA\npm\claude*" -Force
254: irm https://claude.ai/install.ps1 | iex
255: irm https://claude.ai/install.ps1
256: [Net.ServicePointManager]::SecurityProtocol
257: irm https://claude.ai/install.ps1 | iex
258: [Net.ServicePointManager]::SecurityProtocol
259: irm https://claude.ai/install.ps1 | iex
260: winget install Anthropic.ClaudeCode
261: claude login
262: claude
263: ssh zhiyuan@192.168.2.103
264: exit
265: claude
266: python3 tools/serve.pyhttp://localhost:8765/#/graph
267: .\.venv\Scripts\activate
268: python3 tools/serve.pyhttp://localhost:8765/#/graph
269: uv python3 tools/serve.pyhttp://localhost:8765/#/graph
270: uv run python .\tools\serve.py
271: claude
272: exit
273: uv run python .\tools\serve.py
274: claude
275: ssh -p 56590 root@connect.westc.seetacloud.com
276: Get-FileHash ".\kronos-project-backup-20260727_233909.tar.gz" -Algorithm SHA256
277: ssh -p 56590 root@connect.westc.seetacloud.com
278: ssh -p 32723 root@connect.westd.seetacloud.com
279: ssh-keygen -t rsa
280: ssh -p 32723 root@connect.westd.seetacloud.com
281: cd ../
282: cd .\AutoSci\
283:  .\.venv\Scripts\activate
284: uv run python .\tools\serve.py
285: ssh -p 32723 root@connect.westd.seetacloud.com
286: cd ..\..\AutoSci\
287: claude
288: git status
289: git log
290: cd ..\..\AutoSci\u
291: cd ..\..\AutoSci\
292: git status
293: git log --oneline
294: cd ..\..\AutoSci\
295: git log --oneline
296: cd ..\..\AutoSci\
297: git log
298: ssh -p 33948 root@connect.westd.seetacloud.com
299: sha256 C:\Users\gao\Desktop\导师的意见.docx
300: sha256sum C:\Users\gao\Desktop\导师的意见.docx
301: Get-FileHash -Path C:\Users\gao\Desktop\导师的意见.docx -Algorithm SHA256
302: Get-FileHash -Path C:\Users\gao\Desktop\桌面临时文件\导师的意见.docx -Algorithm SHA256
303: ssh -p 51552 root@connect.westd.seetacloud.com
304: uv run python .\tools\serve.py
305: ssh -p 33948 root@connect.westd.seetacloud.com
306: regime-gated-lora-mixture
307: curl -I https://chatgpt.com
308: git clone -b main https://github.com/skyllwt/AutoSci.git
309: Get-Command pwsh
310: cd .\.git\
PS C:\Users\gao> cd C:\AutoSci
PS C:\AutoSci>
PS C:\AutoSci> dir

    Directory: C:\AutoSci

Mode                 LastWriteTime         Length Name
----                 -------------         ------ ----
d----           2026/7/27    18:35                .checkpoints
d----           2026/7/29    12:34                .claude
d----            2026/8/3    18:00                .codex
d----           2026/7/27    15:40                .github
d----           2026/7/27    15:40                .sleepcode
d----           2026/7/27    18:15                .venv
d----            2026/8/2    19:37                app
d----           2026/7/27    15:40                assets
d----           2026/7/29    16:57                config
d----            2026/8/1     1:10                docs
d----           2026/7/29    11:34                experiments
d----           2026/7/27    15:40                i18n
d----           2026/7/27    15:40                mcp-servers
d----           2026/7/27    15:40                raw
d----           2026/7/27    18:26                runtime
d----            2026/8/3    13:07                scripts
d----           2026/7/29    16:27                temp
d----           2026/7/27    15:40                templates
d----           2026/7/28    23:44                tools
d----           2026/7/29    13:42                wiki
-a---           2026/7/28     3:08           6696 _payload.json
-a---           2026/7/28     2:36           5099 .env
-a---           2026/7/27    15:40           5149 .env.example
-a---           2026/7/27    15:40           1610 .gitattributes
-a---           2026/7/27    15:40           2898 .gitignore
-a---           2026/7/27    22:23            192 .mcp.json
-a---            2026/8/1    15:47           5944 AGENTS.md
-a---           2026/7/27    15:40           9838 CHANGELOG.md
-a---           2026/7/27    15:40           2321 CLAUDE.md
-a---           2026/7/27    15:40           1670 CODE_OF_CONDUCT.md
-a---           2026/7/27    15:40           2900 CONTRIBUTING.md
-a---           2026/7/29     1:20          13119 CUsersgaoAppDataLocalTempclaudeC--AutoSci63685f02-e96a-4f80-b21d-3372ada2e9cdtmpensemble_eval_or
                                                  ig.py
-a---           2026/7/27    15:40           1100 LICENSE
-a---           2026/7/27    15:40          31656 README.md
-a---           2026/7/27    15:40            453 requirements.txt
-a---           2026/7/27    15:40          10197 setup.ps1
-a---           2026/7/27    15:40           9230 setup.sh

PS C:\AutoSci> uv run python --version
Python 3.12.13
PS C:\AutoSci> uv run python -c "import sys;print(sys.executable)"
C:\AutoSci\.venv\Scripts\python.exe
PS C:\AutoSci>

ChatGPT:

AutoSci-部署指南 (1)

AutoSci-部署指南

作者: 高志远

高志远,24岁,男生

发表评论

邮箱地址不会被公开。