Windows 安装 OpenClaw 以及 Auth 认证
Windows 平台下安装 OpenClaw 的完整教程,包括 Node.js、Git 安装,PowerShell 一键安装配置,以及 OpenAI/Google 模型的 Auth 认证流程。 ...
Windows 平台下安装 OpenClaw 的完整教程,包括 Node.js、Git 安装,PowerShell 一键安装配置,以及 OpenAI/Google 模型的 Auth 认证流程。 ...
面向OpenCode安装及模型连接的文档:安装、网络、必装插件、连接 GPT Plus / Copilot / Antigravity、验证清单。 1) 安装 OpenCode Windows(PowerShell) 第 1 步:允许运行脚本(只需执行一次) 1 Set-ExecutionPolicy -ExecutionPolicy RemoteSigned -Scope CurrentUser 第 2 步:安装 Scoop 1 Invoke-RestMethod -Uri https://get.scoop.sh | Invoke-Expression 第 3 步:安装 Git(Scoop 需要 Git 来添加 bucket) 1 scoop install git 第 4 步:安装 OpenCode 1 2 scoop bucket add extras scoop install extras/opencode Linux 1 curl -fsSL https://opencode.ai/install | bash 验证安装:看到 Installation complete! 就成功了。 重要:安装成功后需要重启终端。 2) 网络配置(代理) 参考(中文教程):https://learnopencode.com/1-start/03-network.html Windows(临时配置) 1 2 $env:HTTP_PROXY = "http://127.0.0.1:7890" $env:HTTPS_PROXY = "http://127.0.0.1:7890" Linux(临时配置) 1 2 export HTTP_PROXY=http://127.0.0.1:7890 export HTTPS_PROXY=http://127.0.0.1:7890 ⚠️ 重要提示:上述配置中的端口号 7890 仅为示例,请根据你自己的代理软件实际端口号进行修改。常见代理端口:Clash (7890)、V2Ray (1080)、Shadowsocks (1080) 等。 ...
基于 CSDN 博客文章整理 原文链接:https://blog.csdn.net/a18307096730/article/details/124586216 📋 目录 基础配置 本地仓库操作 文件状态管理 分支管理 远程仓库操作 版本控制 常用别名配置 基础配置 用户信息设置 1 2 3 4 5 6 7 8 9 # 设置用户名 git config --global user.name "your_name" # 设置邮箱 git config --global user.email "your_email@example.com" # 查看配置信息 git config --global user.name git config --global user.email 配置别名(可选) 在 ~/.bashrc 文件中添加: 1 2 3 4 5 # 用于输出 git 提交日志 alias git-log='git log --pretty=oneline --all --graph --abbrev-commit' # 用于输出当前目录所有文件及基本信息 alias ll='ls -al' 执行生效:source ~/.bashrc ...