首页 > Windows开发 > 详细

Windows下的包管理工具-Scoop

时间:2019-03-12 19:59:06      阅读:181      评论:0      收藏:0      [点我收藏+]

关于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 help

技术分享图片

添加源(buckets),需要先安装 git

scoop install git
scoop bucket add extras
# 或 scoop bucket add extras https://github.com/lukesampson/scoop-extras.git

安装 idea 试试

技术分享图片

技术分享图片

 


 

官网

官方文档

Windows下的包管理工具-Scoop

原文:https://www.cnblogs.com/jhxxb/p/10519166.html

(0)
(0)
   
举报
评论 一句话评论(0
关于我们 - 联系我们 - 留言反馈 - 联系我们:wmxa8@hotmail.com
© 2014 bubuko.com 版权所有
打开技术之扣,分享程序人生!