关于scoop的介绍
https://www.jianshu.com/p/bb0ba62b519c
https://blog.csdn.net/fcymk2/article/details/86653207
https://www.h404bi.com/blog/2018/05/12/talk-about-scoop-the-package-manager-for-windows-again.html
一、安装
打开 CMD ,输入 powershell
测试 powershell
# should be >= 3
$psversiontable.psversion.major
确保允许 PowerShell 执行本地脚本
set-executionpolicy remotesigned -scope currentuser
安装scoop,假设目标目录是C:\scoop,在 PowerShell 命令控制台中运行
$env:SCOOP='C:\scoop'
[environment]::setEnvironmentVariable('SCOOP',$env:SCOOP,'User')
iex (new-object net.webclient).downloadstring('https://get.scoop.sh')
将全局应用安装到自定义目录
$env:SCOOP_GLOBAL='c:\apps'
[environment]::setEnvironmentVariable('SCOOP_GLOBAL',$env:SCOOP_GLOBAL,'Machine')
scoop install -g <app>
卸载
# 卸载 Scoop,会删除其中的所有软件
scoop uninstall scoop
二、使用
查看帮助
scoop help
添加源(buckets),需要先安装 git
scoop install git
scoop bucket add extras
# 或 scoop bucket add extras https://github.com/lukesampson/scoop-extras.git
安装 idea 试试