قامت Microsoft ببناء Windows Package Manager (winget) الذي يتيح لك اكتشاف ، وتثبيت ، وترقية ، وإزالة ، وإعداد تطبيق واحد أو عدة تطبيقات على Windows 10 باستخدام أسطر الأوامر.
Although using winget to install one app is easy, when you need download and install multiple apps the required command can be complex, and this is when “winstall” comes in handy.
winstall is a web app started by Mehedi Hassan on GitHub that connects to the Microsoft’s app repository and allows you to visually select apps you want to install, and it generates a script automatically, which you can then use to bulk install apps on Windows 10 using winget.
In this guide, you’ll learn the steps to use winstall to generate a script to install multiple apps using winget on Windows 10.
How to install multiple apps using winstall and winget
To install multiple apps using winstall and winget, use these steps:
-
افتح برنامج Winstall على الويب .
-
انقر فوق الزر " عرض الكل ".
-
حدد التطبيقات التي تريد تثبيتها بالنقر فوقها مرتين.
winstall حدد التطبيقات
نصيحة سريعة: ستعرف أن العنصر قد تم تحديده عندما يكون له إطار أرجواني. يمكنك النقر فوق التطبيق لإلغاء تحديده أو النقر فوق الزر مسح التحديدات .
-
انقر فوق الزر إنشاء برنامج نصي .
نص الجناح
-
انقر فوق الزر نسخ إلى الحافظة .
ملاحظة سريعة: الإخراج الافتراضي هو استخدام winget مع موجه الأوامر ، ويجب عليك تشغيل مفتاح تبديل البرنامج النصي Show PowerShell لتعديل البرنامج النصي لاستخدامه في PowerShell. يمكنك أيضًا تنزيل ملف ".bat" لأتمتة عملية التثبيت على جهازك.
-
افتح قائمة ابدأ .
-
ابحث عن موجه الأوامر ، وانقر بزر الماوس الأيمن فوق أعلى نتيجة ، وحدد خيار التشغيل كمسؤول .
-
انقر بزر الماوس الأيمن والصق (Ctrl + V) البرنامج النصي للجناح لتثبيت التطبيقات واضغط على Enter .
winget الأمر لتثبيت تطبيقات متعددة
على سبيل المثال ، يقوم هذا البرنامج النصي بتثبيت Atom و VLC و 1Password:
winget install --id=AgileBits.1Password -e && winget install --id=twinkstar.browser -e && winget install --id=VideoLAN.VLC -e
Once you complete the steps, the apps will download and install on your Windows 10 device automatically.
You can use the Windows Package Manager without administrator privileges, but you’ll be prompted to elevate, and if you choose not to elevate, the installation will fail.
The Windows Package Manager still in preview, which means that you’ll need to be part of the Windows Insider Program with a machine enrolled in the Fast ring to access the tool.
You may also be able to install a preview of the App Installer on Windows 10 version 2004 from the Microsoft Store.