# install **Repository Path**: hightorque-opensource/install ## Basic Information - **Project Name**: install - **Description**: 一键更新脚本 - **Primary Language**: Unknown - **License**: Not specified - **Default Branch**: master - **Homepage**: None - **GVP Project**: No ## Statistics - **Stars**: 1 - **Forks**: 0 - **Created**: 2025-01-21 - **Last Updated**: 2025-07-08 ## Categories & Tags **Categories**: Uncategorized **Tags**: None ## README # 一键安装 ## 工具列表 已支持工具列表: - 一键安装:sim2real 运控代码 一键更新 ......... ## 使用方法 ``` wget https://gitee.com/hightorque-opensource/install/raw/master/install -O hightorque && . hightorque ``` ## 环境配置 ### git凭证 ``` cd git config --global credential.helper store nano ~/.git-credentials ``` 按以下格式复制到该文件下 `https://『用户名』:『token』@github.com` - 如果root用户下git凭证 ``` sudo -i git config --global credential.helper store nano ~/.git-credentials ``` ## 脚本目录 -tools ## 流程图 ```mermaid graph LR start[开始] --> input[选择任务] input --> print1[1 一键更新sim2real代码] print1 --- print1.1[检查是否以 root 用户运行] print1.1 --- condition1.3{检查主目录下仓库是否存在} condition1.3 -- 是 --- print1.5[更新仓库并切换到最新标签] condition1.3 -- 否 --- print1.4[输入机器人类型并克隆仓库] print1.4 --- print1.7[选择机器人 hi 或者 pi] print1.7 --- print1.5 print1.5 --- print1.6[编译] input --> print2[...] ```