工欲善其事必先利其器之包管理神器Scoop


可以媲美RHEL/CentOS上的yum或者Ubuntu上的apt-get的包管理器,可以实现软件自动配置安装,比如环境变量设置.
github链接:https://github.com/lukesampson/scoop
包含了scoop的介绍以及安装方法,英语好的同学可以直接去看,下面给出默认安装方法.
####scoop的安装
打开PowerShell 6,输入

 iex(new-object net.webclient).downloadstring('https://get.scoop.sh')

然后看一会代码雨就安装完成了.
检查一下,输入scoop

####scoop使用方法
打开powershell6,输入指令即可,给出一个示例

scoop install python

scoop表示是这个软件,install告诉scoop我要安装软件,python是软件名.
如果不确定软件库中有没有这个软件,可以使用

scoop search 软件名

来搜索scoop软件库中有没有这个软件.
当然,scoop有许多第三方软件库,毕竟软件太少可不行,使用命令

scoop bucket add 软件库名

可以扩展scoop的软件库,下面是scoop常用的第三方软件库,把软件库名替换成名字就行

  • main - Default bucket for the most common (mostly CLI) apps

  • extras - Apps that don’t fit the main bucket’s criteria

  • games - Open source/freeware games and game-related tools

  • nerd-fonts - Nerd Fonts

  • nirsoft - A subset of the 250 Nirsoft apps

  • java - Installers for Oracle Java, OpenJDK, Zulu, ojdkbuild, AdoptOpenJDK, Amazon Corretto, BellSoft Liberica & SapMachine

  • jetbrains - Installers for all JetBrains utilities and IDEs

  • nonportable - Non-portable apps (may require UAC)

  • php - Installers for most versions of PHP

  • versions - Alternative versions of apps found in other buckets

####scoop默认位置
位于

C:\Users\用户名\scoop


下载的软件在apps里,下面是我用的软件.


文章作者: Hiper
版权声明: 本博客所有文章除特別声明外,均采用 CC BY 4.0 许可协议。转载请注明来源 Hiper !
  目录