相当于 Chocolatey 应用程序 Powershell 应用程序的 Brew 命令

Brew commands equivalent for Chocolatey app powershell app

如何通过 Chocolatey 中的命令查看当前 运行 的服务 window 10.

The equivalent for this command is on MacOS Brew is

$brew services list

在 Windows 操作系统上,后台应用程序 运行 的概念是内置的(以 Windows 服务的形式)。因此,在 Chocolatey 中没有真正需要将其添加为命令,因为可以使用 Get-Service PowerShell cmdlet 获取当前 运行 Windows 服务的列表。

https://docs.microsoft.com/en-us/powershell/module/microsoft.powershell.management/get-service?view=powershell-6

例如,如果您只对当前 运行 Windows 服务感兴趣,您可以使用:

Get-Service | Where-Object Status -eq "Running"

我真的不明白作为 Windows 包管理器的 Chocolatey 如何能在这里增加任何实际价值。

运行 Windows 上的服务可以使用命令查看:

net start