参考:https://scoop.sh/
参考:https://github.com/lukesampson/scoop/wiki/Quick-Start
懂不懂,先装上,这样你就完成了该工具学习的第一步
一、确认powershell版本大于等于5.0
C:\Users\24305>powershell
Windows PowerShell
版权所有 (C) Microsoft Corporation。保留所有权利。
尝试新的跨平台 PowerShell https://aka.ms/pscore6
PS C:\Users\24305>
PS C:\Users\24305> $psversiontable.psversion.major
5
二、允许powershell执行本地脚本
PS C:\Users\24305> set-executionpolicy remotesigned -scope currentuser
三、安装scoop
PS C:\Users\24305> iwr -useb get.scoop.sh | iex
Initializing...
Downloading scoop...
Extracting...
Creating shim...
Downloading main bucket...
Extracting...
Adding ~\scoop\shims to your path.
'lastupdate' has been set to '2020-09-19T23:13:43.2551738+08:00'
Scoop was installed successfully!
Type 'scoop help' for instructions.
四、查看scoop使用方法
PS C:\Users\24305> scoop --help
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
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's hash on virustotal.com
which Locate a shim/executable (similar to 'which' on Linux)
Type 'scoop help <command>' to get help for a specific command.
本文内容由网友自发贡献,版权归原作者所有,本站不承担相应法律责任。如您发现有涉嫌抄袭侵权的内容,请联系:hwhale#tublm.com(使用前将#替换为@)