windows安装scoop
程序员文章站
2022-05-29 22:46:06
...
参考:https://scoop.sh/
参考:https://github.com/lukesampson/scoop/wiki/Quick-Start
懂不懂,先装上,这样你就完成了该工具学习的第一步
一、确认powershell版本大于等于5.0
# cmd命令行下进入powershell
C:\Users\24305>powershell
Windows PowerShell
版权所有 (C) Microsoft Corporation。保留所有权利。
尝试新的跨平台 PowerShell https://aka.ms/pscore6
PS C:\Users\24305>
# 确认powershell版本大于等于5.0
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.
上一篇: npm更换成淘宝镜像源以及cnpm
下一篇: npm 换源为淘宝镜像(cnpm)
推荐阅读
-
PHP For Windows/php-5.6.11-Win32-VC11-x64启动脚本,vc11x64
-
Windows下开发的常用配置
-
深入浅析华为鸿蒙IDE安装与Hello World
-
在CUDA10.1版本下安装tensorflow-gpu=1.15版本
-
elasticsearch单节点安装
-
【我要学python】愣头青之初安装就打了一记耳光
-
百度云虚拟主机BCH安装PHP框架CodeIgniter
-
elasticsearch的单节点和集群的安装和使用代码操作
-
Spark-Unit1-spark概述与安装部署
-
无法在发生错误时创建会话,请检查 PHP 或网站服务器日志,并正确配置 PHP 安装(win+linux)_php技巧