window 10 中安装 allure
发布时间:2020-12-14 05:32:37 所属栏目:Windows 来源:网络整理
导读:1、进入cmd ,使用powershell C:UsersCZY powershellWindows PowerShell版权所有 (C) Microsoft Corporation。保留所有权利。 2、查看powershell 的版本,scoop要求powershell?版本至少是5或更高 PS C:UsersCZY $PSVersionTable Name Value ---- ----- P
1、进入cmd ,使用powershell C:UsersCZY>powershell
Windows PowerShell
版权所有 (C) Microsoft Corporation。保留所有权利。
2、查看powershell 的版本,scoop要求powershell?版本至少是5或更高 PS C:UsersCZY> $PSVersionTable Name Value ---- ----- PSVersion 5.1.17134.765 PSEdition Desktop PSCompatibleVersions {1.0,2.0,3.0,4.0...} BuildVersion 10.0.17134.765 CLRVersion 4.0.30319.42000 WSManStackVersion 3.0 PSRemotingProtocolVersion 2.3 SerializationVersion 1.1.0.1 3、下载 scoop并安装 PS C:UsersCZY> iex (new-object net.webclient).downloadstring(‘https://get.scoop.sh‘) PowerShell requires an execution policy of ‘RemoteSigned‘ to run Scoop. To make this change please run: ‘Set-ExecutionPolicy RemoteSigned -scope CurrentUser‘ #若执行iex命令时有上面的提示,根据提示操作 PS C:UsersCZY> Set-ExecutionPolicy RemoteSigned -scope CurrentUser PS C:UsersCZY> iex (new-object net.webclient).downloadstring(‘https://get.scoop.sh‘) Initializing... Downloading scoop... Extracting... Creating shim... Downloading main bucket... Extracting... Adding ~scoopshims to your path. ‘lastupdate‘ has been set to ‘2019-07-18T23:23:48.8724096+08:00‘ Scoop was installed successfully! Type ‘scoop help‘ for instructions. 4、查看scoop 是否安装完成 PS C:UsersCZY> scoop help Usage: scoop <command> [<args>] ... 5、安装 allure PS C:UsersCZY> scoop install allure Installing ‘allure‘ (2.12.1) [64bit] allure-commandline-2.12.1.zip (16.3 MB) [=====================================================================] 100% Checking hash of allure-commandline-2.12.1.zip ... ok. Extracting allure-commandline-2.12.1.zip ... done. Linking ~scoopappsallurecurrent => ~scoopappsallure2.12.1 Creating shim for ‘allure‘. ‘allure‘ (2.12.1) was installed successfully! (编辑:李大同) 【声明】本站内容均来自网络,其相关言论仅代表作者个人观点,不代表本站立场。若无意侵犯到您的权利,请及时与联系站长删除相关内容! |
相关内容
- windows-phone-7 – 如何在窗口电话7的列表框中应用备用行样
- windows – 在给定变量中转义百分号
- 用于Windows服务器监控的软件
- microsoft-cognitive – LUIS:已添加具有相同密钥的项目
- windows – 如何创建Win32控件以包含其他Win32控件?
- windows – 无边框窗口.如何添加阴影并删除1px边框?
- Windows 7 – Windows 7:防止应用程序失去焦点
- 如何在Windows 10 Enterprise上运行应用程序作为shell替换
- windows – Linux spin_lock与NT KeAcquireSpinLock
- Windows Server 2008安装教程