Windows Package Manager (winget) — менеджер пакетов для Windows 10, который позволяет с помощью командной строки устанавливать приложения из встроенного репозитория Microsoft.
После скачивания и установки пакета (файл .appxbundle) достаточно запустить командную строку Windows или PowerShell и ввести команду winget. Если установка прошла корректно, будут отображены основные команды и краткое описание winget.
Каждое доступное приложение проходит проверку фильтром SmartScreen и статическим анализатором. Также, проверяются манифесты, хэш и несколько других параметров, чтобы ограничить попадание в репозиторий вредоносного программного обеспечения.
Благодаря поддержке пакетным менеджером интерфейса командой строки (Windows PowerShell или Windows Terminal) разработчики смогут быстро устанавливать необходимое в работе ПО с помощью простых сценариев, без необходимости всякий раз запускать установщик каждого из необходимых приложений и взаимодействовать с многочисленными диалоговыми окнами.
На данный момент поддерживаются следующие команды:
winget install — установка указанного приложения;
winget show — отображение сведений о приложении;
winget source — управление источниками приложений;
winget search — вывод списка всех или определенных приложений;
winget hash — хэширование файлов установщика;
winget validate — проверка файла манифеста.
Windows Package Manager (preview)
Windows Package Manager and the winget tool are in public preview and may be substantially modified before they are generally available. Microsoft makes no warranties, express or implied, with respect to the information provided here.
Windows Package Manager is a comprehensive package manager solution that consists of a command line tool and set of services for installing applications on Windows 10.
Windows Package Manager for developers
Developers use the winget command line tool to discover, install, upgrade, remove and configure a curated set of applications. After it is installed, developers can access winget via the Windows Terminal, PowerShell, or the Command Prompt.
Windows Package Manager for ISVs
Independent Software Vendors (ISVs) can use Windows Package Manager as a distribution channel for software packages containing their tools and applications. To submit software packages (containing .msix, .msi, or .exe installers) to Windows Package Manager, we provide the open source Microsoft Community Package Manifest Repository on GitHub where ISVs can upload package manifests to have their software packages considered for inclusion with Windows Package Manager. Manifests are automatically validated and may also be reviewed manually.
Understanding package managers
A package manager is a system or set of tools used to automate installing, upgrading, configuring and using software. Most package managers are designed for discovering and installing developer tools.
Ideally, developers use a package manager to specify the prerequisites for the tools they need to develop solutions for a given project. The package manager then follows the declarative instructions to install and configure the tools. The package manager reduces the time spent getting an environment ready, and it helps ensure the same versions of packages are installed on their machine.
Third party package managers can leverage the Microsoft Community Package Manifest Repository to increase the size of their software catalog.
Windows Package Manager (winget)
Разработчик:
Microsoft (США)
Лицензия:
Бесплатно
Версия:
0.2.10971 Preview
Обновлено:
2021-04-15
Системы:
Windows 10
Интерфейс:
русский / английский
Рейтинг:
Ваша оценка:
О программе
Что нового
Новое в Windows Package Manager
Системные требования
Операционные системы:
Windows 10 версии 1709 (сборка 16299) или выше
Полезные ссылки
Подробное описание
Windows Package Manager (winget) – новый консольный менеджер приложений для Windows. С помощью Windows Package Manager можно автоматизировать установку и обновление программ с помощью команд в Windows PowerShell или Windows Terminal.
Работа Windows Package Manager схожа с менеджерами пакетов в операционных системах Linux. Управление утилитой осуществляется из командной строки, а приложения автоматически загружаются из репозитория и устанавливаются на компьютер. В зависимости от устанавливаемого приложения, на рабочем столе и меню пуск могут быть созданы ярлыки запуска.
Каждое доступное приложение проходит проверку фильтром SmartScreen и статическим анализатором. Также, проверяются манифесты, хэш и несколько других параметров, чтобы ограничить попадание в репозиторий вредоносного программного обеспечения.
Windows Package Manager будет удобным инструментом для пользователей и системных администраторов, которые привыкли управлять приложениями из терминала Linux. Предварительная версия WinGet поддерживает следующие команды:
winget install — установка указанного приложения
winget show — отображение сведений о приложении
winget source — управление источниками приложений
winget search — вывод списка всех или определенных приложений
winget hash — хэширование файлов установщика
winget validate -для утверждение файла манифеста
Оценка пользователей
Другие программы
Windows Terminal Терминал от Microsoft объединяет инструменты CMD, PowerShell и WSL
Microsoft PowerShell Core Многофункциональная оболочка командной строки для Windows, Mac и Linux
Диспетчер пакетов Windows (предварительная версия) Windows Package Manager (preview)
Сейчас предоставляется общедоступная предварительная версия Диспетчера пакетов Windows и средства winget. Перед выпуском общедоступной версии в решения могут быть внесены значительные изменения. Windows Package Manager and the winget tool are in public preview and may be substantially modified before they are generally available. Майкрософт не дает никаких гарантий, явных или подразумеваемых, в отношении предоставленной здесь информации. Microsoft makes no warranties, express or implied, with respect to the information provided here.
Диспетчер пакетов Windows — это комплексное решение для управления пакетами, которое состоит из программы командной строки и набора служб для установки приложений в Windows 10. Windows Package Manager is a comprehensive package manager solution that consists of a command line tool and set of services for installing applications on Windows 10.
Диспетчер пакетов Windows для разработчиков Windows Package Manager for developers
Разработчики используют программу командной строки winget для обнаружения, установки, обновления, удаления и настройки проверенного набора приложений. Developers use the winget command line tool to discover, install, upgrade, remove and configure a curated set of applications. После установки разработчики могут получить доступ к winget с помощью терминала Windows, PowerShell или командной строки. After it is installed, developers can access winget via the Windows Terminal, PowerShell, or the Command Prompt.
Диспетчер пакетов Windows для независимых поставщиков программного обеспечения Windows Package Manager for ISVs
Независимые поставщики программного обеспечения могут использовать Диспетчер пакетов Windows в качестве канала распространения пакетов программного обеспечения, содержащих их средства и приложения. Independent Software Vendors (ISVs) can use Windows Package Manager as a distribution channel for software packages containing their tools and applications. Для отправки пакетов программного обеспечения (содержащих установщики MSIX, MSI или EXE) в Диспетчер пакетов Windows мы предоставляем на сайте GitHub репозиторий манифестов пакетов сообщества Майкрософт с открытым исходным кодом. Независимые поставщики программного обеспечения могут передавать в него манифесты пакетов, которые затем могут быть включены в Диспетчер пакетов Windows. To submit software packages (containing .msix, .msi, or .exe installers) to Windows Package Manager, we provide the open source Microsoft Community Package Manifest Repository on GitHub where ISVs can upload package manifests to have their software packages considered for inclusion with Windows Package Manager. Манифесты проверяются автоматически, однако они также могут просматриваться вручную. Manifests are automatically validated and may also be reviewed manually.
Основные сведения о диспетчерах пакетов Understanding package managers
Диспетчер пакетов — это система или набор средств, используемых для автоматизации установки, обновления, настройки и использования программного обеспечения. A package manager is a system or set of tools used to automate installing, upgrading, configuring and using software. Большинство диспетчеров пакетов предназначены для обнаружения и установки средств для разработчиков. Most package managers are designed for discovering and installing developer tools.
В идеале разработчики используют диспетчер пакетов, чтобы задать компоненты, необходимых им для разработки решений под конкретный проект. Ideally, developers use a package manager to specify the prerequisites for the tools they need to develop solutions for a given project. Затем диспетчер пакетов выполняет декларативные инструкции по установке и настройке средств. The package manager then follows the declarative instructions to install and configure the tools. Диспетчер пакетов сокращает время, затрачиваемое на подготовку среды, и помогает обеспечить установку на компьютеры одних и тех же версий пакетов. The package manager reduces the time spent getting an environment ready, and it helps ensure the same versions of packages are installed on their machine.
Диспетчеры пакетов сторонних разработчиков могут использовать репозиторий манифестов пакетов сообщества Майкрософт для пополнения своего каталога программного обеспечения. Third party package managers can leverage the Microsoft Community Package Manifest Repository to increase the size of their software catalog.
5 Free Package Manager for Windows to Install Software via Command line
Here are 5 free Package Manager for Windows to install software via Command line. Just like Linux terminal, these software help you install software from Windows Command Prompt or PowerShell. You just have to give them name of the software you want to install and they will do the rest. And not just installing software, but these package managers can also help you install a software or update it if the new version is available. They support a long list of software and they manage their files on a specific server called Repository. When you execute a command to install a software, they fetch its binaries from the repository and install it.
In Windows almost all the available software come with a graphical installer. You have to click on Next button a few times to get it installed. And sometimes in the software installation process, you end up installing adware, or other useless software. But, in the case of these Package Managers, there will be no such thing happen. They will only install the software and its components in the possible minimal time. Just issue an installation command in the command prompt or PowerShell and you are good to go.
If you don’t like the command line stuff, then you can use graphical package managers. Graphical package managers like Milouz Market you can try. But, if you are just ported yourself from Linux, then after using these command line package managers, you will completely feel at home.
5 free Package Manager for Windows to install Software via Command line
Chocolatey
Chocolatey is one of the best package managers for Windows that you can have on your PC. There are currently 5147 active packages available in its repository that you can easily install. You just have to issue an install command with the name of software. After that it will fetch necessary binaries and will install them. It uses PowerShell of Windows to install software. Not only the installation of software, but it does support other features to manage software as well.
You can use this package manager to update existing packages and even you can remove them with just a simple command. The packages that it support can be the useful Windows software like VLC, Firefox, etc. Or, can be other developer tools like Curl, Python, Java, etc. You can see the list of available packages in its repository here.
One of the best things about Chocolatey is that you don’t need to use an EXE or MSI file in order to install it on your PC. Just run a simple command in PowerShell to install it. After it has been setup in your PC, you can start using it. To install it on your PC, just run the following command in PowerShell.
After the installation you are ready to use Chocolatey. There are a few commands that you can use to install, uninstall, update, and search a software in repository. To install a package, say VLC, you can type the following command.
choco install «package name»
Above you can see that VLC is now being installed on computer. In the same way you can install other software using Chocolatey. But it is advisable to see the correct name of the package on its website before actually installing it.
OneGet
Many people are not still aware this powerful package manager that ships with Windows 10 by default. Yes, OneGet is the default package manager that you can use to install the software from Windows PowerShell. However, it is only available in Windows 10. If you are using other version of Windows, then you will have to manually set it up first before using. Though, it doesn’t come with its own software repository, but it can download you software from other repositories like NuGet. NuGet itself is a very large software repository having up to 91,343 unique packages.
If you are using Windows 10 already, then there is no need to set it up. Just open the PowerShell windows in admin mode and run the following command to install a software.
If you want to search for a specific package in the repository, then you can replace the “install-package” command with “find-package”. This will give you the exact name of the package from the repository. Later on you can install the software by using its correct name in the repository.
Npackd
Npackd is a very good command line package manager for Windows. Unlike others, it doesn’t use PowerShell of Windows. It uses Command prompt of Windows to do its work. It works like any other package manager and supports useful features. You can use it to install, uninstall, update, and search software.
It’s pretty easy to set up Npackd on your PC. In the admin command prompt you can type the following command to install it.
msiexec.exe /qb- /i http://bit.ly/npackdcl-1_22_2
After successful installation, you can start installing packages using Npackd. To install package via Npackd run the command with the following syntax.
ncl add -p «Package Name»
This is how you can use Npackd package manager for Windows. The other supported command and additional switches you can see by running the “ncl help” command.
Just Install
Just Install is another very good package manager for Windows that you can use. It uses Command prompt of Windows to install software from its repository. It is a opensource package manager having its own software repository that it uses to download and install a software. Currently there are 168 active packages are available and counting. The other package managers in this list actually download the portable version of the software and set it up on your PC. But, in the case of this software, it actually uses the actual Setup file of the software you download and install it without bothering the users (silent install).
Just install first requires to be set up on your PC. For that you can open the admin command prompt (search ‘CMD’ in Start and then right-click on it to choose ‘Run as administrator’ option). In the admin command prompt, type this command to install it.
msiexec.exe /i https://stable.just-install.it
After installation goes successful, you can start using it. It supports Install, uninstall, Update, and List feature. So, based on what you want you can execute the command accordingly. To install a software using Just Install, run this command.
just-install «package name»
This way you can install other software available in the repository of Just Install. It installs the software in silent way and you can also update or remove them if you want.
Scoop
Scoop is a package manager for Windows to install software from Command line. Just like Chocolatey, this package manager also works with the PowerShell of Windows. You just have to run a simple command to install it on your PC and start using it. Currently, it supports packages of developer tools like Python, 7-Zip, MySQL, etc. Apart from installing software from command line, it also lets you search for a specific package. Also, you can use Scoop to update existing packages and list installed packages you have installed so far.
Installing Scoop on your PC is very simple. Just open administrator PowerShell and then type this command in it to set up Scoop.
After Scoop has set up on your PC successfully you can start using it. You can see the list of all available packages that you can install using Scoop here.
To install a software using Scoop just run this command.
scoop install «package name»
You can see in above screenshot that Scoop has installed ffmpeg. And in the similar way you can install other software available in the repository with the help of Scoop.
The software repository of Scoop is not very big, but as it is in an active development, so I hope that developer will add more software in the repository.
Final Words:
These are some package manager for Windows to install software via Command line. If you want to install the software in minimum possible time, then you can use any of these package manager. Personally, I really like Chocolatey, and Scoop to install software using PowerShell. And the other package managers like Npackd is also a very good one as it lets you use custom repository. All the other features and functionality of these package managers I have already explained in the context of every one of them. You can always tell me which one is the best in the comments down below.