在 windows 11 或 10 上安装 的命令
尽管可以通过 microsoft store 或直接从其官方网站下载适用于 windows 的 slack 可执行安装程序来安装 slack。但是,对于那些有兴趣使用命令行终端执行相同操作的人,这里是要遵循的步骤。
#第一种方法:
使用 winget 命令行下载 slack
windows 10 和 11 已经有一个 microsoft 创建的名为winget 的包管理器。我们可以使用命令行界面安装各种流行的软件包或应用程序。因此,要在 slack 安装中使用相同的内容,请按照以下步骤操作。
1. 运行 windows 终端或 powershell
根据您的操作系统运行默认的命令行应用程序。为此,只需右键单击 windows 开始按钮并选择powershell(管理员)或windows 终端(管理员)。
2. 检查 winget
最新版本的 windows 10 已经有 winget,但是,如果没有,那么只需转到页面并下载其安装程序。或者,您可以查看我们的winget 文章。在的windows 11用户不需要做任何事情,因为他们已经有了自己的系统上这个包管理器开箱。
只需键入以下命令即可在命令终端上检查其可用性:
winget
3. 在 windows 10 或 11 上安装 slack 命令
现在,我们只需要运行以下命令即可使用命令行安装 slack 应用程序。
winget install slack\slacktechnologies.slack
当它要求您同意条款时,输入a并按enter键。
输出:
ps c:\users\h2s> winget install slack\slacktechnologies.slack found slack [9wzdncrdk3wp] version unknown this package is provided through microsoft store. winget may need to acquire the package from microsoft store on behalf of the current user. version: unknown publisher: slack technologies inc. publisher url: https://www.slack.com publisher support url: https://get.slack.help/hc/en-us description: slack brings team communication and collaboration into one place so you can get more work done, whether you belong to a large enterprise or a small business. check off your to-do list and move your projects forward by bringing the right people, conversations, tools, and information you need together. slack is available on any device, so you can find and access your team and your work, whether you’re at your desk or on the go. use slack to: • communicate with your team and organize your conversations by topics, projects, or anything else that matters to your work • message or call any person or group within your team • share and edit documents and collaborate with the right people all in slack • integrate into your workflow, the tools and services you already use including google drive, salesforce, dropbox, asana, twitter, zendesk, and more • easily search a central knowledge base that automatically indexes and archives your team’s past conversations and files • customize your notifications so you stay focused on what matters scientifically proven (or at least rumored) to make your working life simpler, more pleasant, and more productive. we hope you’ll give slack a try. stop by and learn more at: https://slack.com/ license: ms-windows-store://pdp/?productid=9wzdncrdk3wp privacy url: https://slack.com/privacy-policy 凯发k8一触即发 copyright: © slack technologies, inc. agreements: category: business pricing: free free trial: no age ratings: 12 terms of transaction: https://aka.ms/microsoft-store-terms-of-transaction seizure warning: https://aka.ms/microsoft-store-seizure-warning store license terms: https://aka.ms/microsoft-store-license the publisher requires that you view the above information and accept the agreements before installing. do you agree to the terms? [y] yes [n] no:
#2 方法:
那些不想使用winget或已经在其 windows 7/10/11 操作系统上安装chocolatey的用户;他们可以使用它。或者按照下面给出的命令首先安装第三方包管理器 – choco然后是slack。
运行 powershell(管理员)或 windows 终端(管理员)
就像我们在上面所做的那样,以同样的方式,右键单击 windows开始按钮并在管理权限下运行命令行应用程序。
安装 chocolatey choco(如果你没有)
接下来,将下面给出的命令复制粘贴到您的 powershell 或终端应用程序中以安装 chocolatey 包管理器。
set-executionpolicy bypass -scope process -force; [system.net.servicepointmanager]::securityprotocol = [system.net.servicepointmanager]::securityprotocol -bor 3072; iex ((new-object system.net.webclient).downloadstring(‘https://community.chocolatey.org/install.ps1’))
关闭并打开命令行应用程序
运行上述命令安装 choco 包管理器后,关闭 powershell 或终端应用程序并再次打开它。
在 windows 上使用 choco 安装 slack
现在,我们可以使用流行的choco 包管理器来安装这个消息和协作平台。
choco install slack
输出:
原创文章,作者:校长,如若转载,请注明出处:https://www.yundongfang.com/yun77501.html