win10安装scoop以及增加仓库

简介
Scoop是优质的 Windows 包管理器。它不仅轻量,还将软件直接安装到我们的用户目录下,安装过程不需要申请管理员权限(UAC)也不会污染系统环境变量。

启动powershell之后,运行以下命令进行安装:

PS C:WINDOWSsystem32> set-executionpolicy remotesigned -s cu

执行策略更改
执行策略可帮助你防止执行不信任的脚本。更改执行策略可能会产生安全风险,如 https:/go.microsoft.com/fwlink/?LinkID=135170
中的 about_Execution_Policies 帮助主题所述。是否要更改执行策略?
[Y] 是(Y) [A] 全是(A) [N] 否(N) [L] 全否(L) [S] 暂停(S) [?] 帮助 (默认值为“N”): A
PS C:WINDOWSsystem32> iex (new-object net.webclient).downloadstring('https://get.scoop.sh')
Initializing...
Downloading...
Extracting...
Creating shim...
Adding ~scoopshims to your path.
Scoop was installed successfully!
Type 'scoop help' for instructions.
安装软件
PS C:WINDOWSsystem32> scoop install curl grep
Installing '7zip' (19.00) [64bit]
7z1900-x64.msi (1.7 MB) [======================================================================================] 100%
Checking hash of 7z1900-x64.msi ... ok.
Extracting 7z1900-x64.msi ... done.
Linking ~scoopapps7zipcurrent => ~scoopapps7zip19.00
Creating shim for '7z'.
Creating shortcut for 7-Zip (7zFM.exe)
'7zip' (19.00) was installed successfully!
Installing 'curl' (7.64.1) [64bit]
curl-7.64.1-win64-mingw.tar.xz (2.0 MB) [======================================================================] 100%
Checking hash of curl-7.64.1-win64-mingw.tar.xz ... ok.
Extracting curl-7.64.1-win64-mingw.tar.xz ... done.
Linking ~scoopappscurlcurrent => ~scoopappscurl7.64.1
Creating shim for 'curl'.
'curl' (7.64.1) was installed successfully!
Installing 'grep' (2.5.4) [64bit]
grep-2.5.4-bin.zip (441.2 KB) [================================================================================] 100%
Checking hash of grep-2.5.4-bin.zip ... ok.
grep-2.5.4-dep.zip (877.2 KB) [================================================================================] 100%
Checking hash of grep-2.5.4-dep.zip ... ok.
Extracting grep-2.5.4-bin.zip ... done.
Extracting grep-2.5.4-dep.zip ... done.
Linking ~scoopappsgrepcurrent => ~scoopappsgrep2.5.4
Creating shim for 'grep'.
'grep' (2.5.4) was installed successfully!
安装目录是在C:Users系统用户名scoopapps下面。

另外还可以新增软件仓库repo,增强实用性。

PS C:Usersfangdm> scoop bucket known
extras
versions
nightlies
nirsoft
php
nerd-fonts
nonportable
java
games
jetbrains
PS C:Usersfangdm> scoop bucket add nirsoft
Checking repo... ok
The nirsoft bucket was added successfully
https://www.cnblogs.com/CyLee/p/7197551.html
https://github.com/lukesampson/scoop
https://sspai.com/post/52710

  没有贴标签=、=

  • 上一篇: 各类VPN的安装方法
  • 下一篇: 网站背景变黑白代码
  • 添加新评论

    icon_question.gificon_razz.gificon_sad.gificon_evil.gificon_exclaim.gificon_smile.gificon_redface.gificon_biggrin.gificon_surprised.gificon_eek.gificon_confused.gificon_cool.gificon_lol.gificon_mad.gificon_twisted.gificon_rolleyes.gificon_wink.gificon_idea.gificon_arrow.gificon_neutral.gificon_cry.gificon_mrgreen.gif