作为一个 Windows 用户,常常会遇到这种情形:当我想要下载一个软件,在查询一些教程时,里面常常写道:推荐 Mac 用户使用 brew install xxx,然后扔给 Windows 用户一个链接,自己下载去吧,然后安装完可能还需要配个环境变量。后来才了解 到 Windows 下 还有 scoop 这么好用的包管理器。
# Yuhi at SURFACE in ~ [12:51:26]%scoophelpUsage:scoop<command>[<args>]Someusefulcommandsare:aliasManagescoopaliasesbucketManageScoopbucketscacheShoworclear thedownloadcachecheckupCheckforpotentialproblemscleanupCleanupappsbyremovingoldversionsconfigGetorset configurationvaluescreateCreateacustomappmanifestdependsListdependenciesforanappexportExports(animportable)listofinstalledappshelpShowhelpforacommandholdHoldanapptodisableupdateshomeOpenstheapphomepageinfoDisplayinformationaboutanappinstallInstallappslistListinstalledappsprefixReturnsthepathtothespecifiedappresetResetanapptoresolveconflictssearchSearchavailableappsstatusShowstatusandcheckfornewappversionsunholdUnholdanapptoenableupdatesuninstallUninstallanappupdateUpdateapps,orScoopitselfvirustotalLookforapp's hash on virustotal.com
which Locate a shim/executable (similar to 'which' on Linux)
Type 'scoophelp<command>'togethelpforaspecificcommand.
# Yuhi at SURFACE in ~ [12:32:28]%scooplistInstalledapps:7zip19.00[main]aria21.35.0-1[main]curl 7.74.0_2[main]dark3.11.2[main]gcc9.3.0-2[main]geekuninstaller1.4.7.142[extras]git2.30.0.windows.2[main]grep2.5.4[main]hugo-extended0.72.0[C:\Users\Yuhi\scoop\workspace\hugo-extended.json]innounp0.50[main]lessmsi1.8.1[main]lxrunoffline3.5.0[extras]nodejs15.7.0[main]openssl1.1.1i[main]potplayer201209[extras]python3.8.7[C:\Users\Yuhi\scoop\workspace\python.json]qimgv0.9.1[extras]quicklook3.6.10[extras]screentogif2.27.3[extras]snipaste1.16.2[extras]sublime-text3.2.2-3211[extras]sudo0.2020.01.26[main]translucenttb2020.2[extras]typora0.9.98[extras]vscode1.52.1[extras]windows-terminal1.4.3243.0[extras]win-dynamic-desktop4.4.0[extras]