2026/5/21 21:53:24
网站建设
项目流程
重庆企业网站备案要多久时间,有限公司在线网站,wordpress 获取当前id,wordpress首页修改一款Windows包管理器国内项目地址
安装Scoop
打开PowerShell#xff08;不要使用管理员#xff09;#xff1a;因为scoop的理念是为单独用户去安装的# 脚本执行策略更改#xff0c;默认自动同意
Set-ExecutionPolicy RemoteSigned -scope CurrentUser -Force## 自定义安装…一款Windows包管理器国内项目地址安装Scoop打开PowerShell不要使用管理员因为scoop的理念是为单独用户去安装的# 脚本执行策略更改默认自动同意Set-ExecutionPolicy RemoteSigned -scope CurrentUser -Force## 自定义安装目录不设置的话默认安装在用户目录下)$env:SCOOPD:\Apps\scoop[Environment]::SetEnvironmentVariable(SCOOP,$env:SCOOP,USER)# 执行安装命令iwr -useb scoop.201704.xyz|iex# 更换scoop的repo地址scoop config SCOOP_REPOhttps://gitee.com/scoop-installer/scoop# 拉取新库地址这一步需要有git如果没有的话安装一个scoop install git scoop update ···软件桶bucket一个bucket就是一个软件仓库#查询已知bucketscoop bucket known#添加bucketscoop bucketaddextras#查询当前的bucket列表scoop bucket list系统本身的main软件桶是指向外网仓库的下面命令是替换为国内仓库# 查看当前bucktscoop bucket list# 删除已安装的bucketscoop bucketrmextras# 重新添加bucketscoop bucketaddextras# 重新查看bucket镜像scoop bucket list添加第三方仓库# 基本语法scoop bucketadd别名git地址# 举例添加scoopcn[Mostly Chinese applications / 大多是国内应用程序](https://github.com/scoopcn/scoopcn)scoop bucketaddscoopcn https://gitee.com/scoop-installer/scoopcn# 其他较为优秀的bucket可访问scoop-installer有选择性地添加安装软件软件仓库官网可在线查询软件代理可选# 添加代理 根据实际填写http代理scoop config proxy127.0.0.1:4412# 删除代理scoop configrmproxy软件安装# 基本语法scoopinstall库名/软件名# 例如安装 qq 微信(wechat)scoopinstallqq# 指定bucket库的软件如需要scoopinstallscoopcn/wechat# 一条命令安装多个软件scoopinstallqq wechat aria2软件卸载scoop uninstall qq wechat软件更新scoop update *其他命令#搜索软件scoop search 软件名# 软件暂停更新scoop hold软件名# 切换到指定版本scoop reset软件名版本号# 重置所有软件链接及图标scoop reset *# 删除缓存软件包scoop cacherm*# 删除软件老版本scoop cleanuprm*常用命令Usage: scoop command [args] Some useful commands are: alias Manage scoop aliases # 管理指令的替身 bucket Manage Scoop buckets # 管理软件仓库 cache Show or clear the download cache # 查看与管理缓存 checkup Check for potential problems # 做个体检 cleanup Cleanup apps by removing old versions # 清理缓存与旧版本软件包 config Get or set configuration values # 配置Scoop create Create a custom app manifest # 创建自定义软件包 depends List dependencies for an app # 查看依赖 export Exports (an importable) list of installed apps # 导出软件包列表 help Show help for a command # 显示帮助指令 hold Hold an app to disable updates # 禁止软件包更新 home Opens the app homepage # 打开软件包主页 info Display information about an app # 显示软件包信息 install Install apps # 安装软件包的指令 list List installed apps # 列出所有已安装软件包 prefix Returns the path to the specified app # 查看软件包路径 reset Reset an app to resolve conflicts # 恢复软件包版本 search Search available apps # 搜索软件包 status Show status and check for new app versions # 查看软件包更新状态 unhold Unhold an app to enable updates # 启动软件包更新 uninstall Uninstall an app # 卸载软件包的指令 update Update apps, or Scoop itself # 更新软件包 virustotal Look for app hash on virustotal.com # 查看哈希值 which Locate a shim/executable (similar to which on Linux) # 查看可执行程序路径