حمید رضا محسنیان
برنامه نویس

Winget چیست؟ معرفی پکیج منجر ویندوزی

سلام دوباره خدمت دوستای گلم اگر از اون دسته از افراد باشید که با لینوکس آشنایی دارند حتما چیزی به اسم پکیج منیجر به گوشتون خورده و میدونید پکیج منیجر های مختلفی داریم برای توضیع های مختلف مثل apt,yum,pacman و ... در واقع یکی از ساده ترین کارهای پکیج منیجر ها نصب و مدیریت برنامه هاست و ... که میتونه شامل نصب و حذف،بروزرسانی،و...بشه و خیلی کار رو ساده میکنه و در عین حال خیال فرد هم راحت تره چون که در ریپازیتوری از جای معتبر دریافت میشه و قابلیت چک رو هم به ما میده و ... کاری به این حرفا نداریم این همه سرتون رو درد آوردم که بگم آقا ویندوزم همچین چیزی داده بیرون (:

دوره های شبکه، برنامه نویسی، مجازی سازی، امنیت، نفوذ و ... با برترین های ایران
سرفصل های این مطلب
  1. مواد لازم
    1. preview insider چیست ؟

هرچند در حالت آزمایشی هست و قابلیت های چندانی نداره اما تا سال 2021 آماده میشه

Winget چیست؟ معرفی پکیج منجر ویندوزی

اماکاچی بهتر از هیچی میتونید باهاش یه سری برنامه ها رو نصب کنید و یه سری قابلیت دیگه که در زیر میبینید

  1. install Installs the given application
  2. show Shows info about an application
  3. source Manage sources of applications
  4. search Find and show basic info of apps
  5. hash Helper to hash installer files
  6. validate Validates a manifest file
  7. help Provides command line --help
  8. info Provides addition data, helpful for --troubleshooting
  9. version Provides the version of the --client

میبینید که قابلیت چندانی نداره ولی بازم خوبه که همچین چیزی اومده و در حال توسعه هست و گفته شده در نسخه 1 یعنی سال آینده قابلیت های زیر بهش اضافه میشه 

V1


Support for installing Apps from the Microsoft Store
V1
Support for a REST based repository
V1
The client should be able to tell you what Apps are installed
V1
The client should be able to update one or "all" installed Apps
V1
The client should be able to uninstall Apps
V1
The client should be able to choose between multiple different installers from the same manifest
V1
The client will support installation for almost every language for which there is a fixed-width font including East Asian languages. Bonus points for RTL languages/scripts.
V1
The client should support multiple architectures in the same manifest
V1
The client should support applications with non-zero exit codes as success
V1
The client should be able to install programs in a .zip file
V1
The client will have a modern, flexible settings mechanism that persists settings to/from a JSON file stored in the user's app data folders, and/or in files synchronized between machines via OneDrive, etc.
V1
The client will be highly accessible and inclusive. It will expose its contents via UIA to support tools such as Windows Narrator, and UI automation tools including WinAppDriver
V1
The client will honor the user's Windows dark/light theme settings, and/or color accent settings.
V1
The client will support autocomplete for all commands and packages in the local cache
V1
Some applications have different release channels and we should support them
V1
Applications may be installed for the local user or for the system
V1
The client should download responsibly when on metered networks
V1
Delivery Optimization should be leveraged for large Apps
V1
The client should support installing Apps that require elevated privileges
V1
Support for Apps installed in the Control Panel
V1
Support for Group Policy control
V1
Support for exporting all installed packages as a package set
V1
Support for installing a set of packages
V1
--create helps a user generate a manifest
V1
Support for silent installers that require a configuration file
V1
Client Verbosity Settings
V1
Some Apps depend on other Apps to be present like IDEs and Programming Languages
V1

Support installing Progressive Web Applications

خب اونقدری نموده پس هرچه سریع تر اقدام به نصبش کنید.

مواد لازم

  1. فعال سازی قابلیت preview insider
  2. نصب App installer از store
  3. نصب پکیج مورد نیاز برای فعال سازی winget 

preview insider چیست ؟

در واقع شما با عضو کردن اکانت خودتون در این قسمت اولین نفری هستید که از قابلیت های جدید ویندوز استفاده میکنید و اون رو دریافت میکنید در واقع یه جورایی مثل دیباگ کردن برنامه میمونه و به صورت خودکار نتایج به مایکروسافت ارسال میشه و ممکنه براتون نگرانی به وجود بیاد برای امنیت و مشکل دار بودن برنامه ها اما خیالتون راحت باشه اپدیت ها رو میتونید مشخص کنید طی چه بازه زمانی و با چه روندی دریافت کنید و هر وقت هم پشیمون شدید به راحتی میتونید غیر فعالش کنید .

Winget چیست؟ معرفی پکیج منجر ویندوزی

نصب App installer 

Winget چیست؟ معرفی پکیج منجر ویندوزی

نصب winget 

Winget چیست؟ معرفی پکیج منجر ویندوزی

لیست دستورات رو در ابتدا آوردم میتونید از اینجا هم ببینید چند نمونه

  1. Winget install app command
    Winget search app command
    Winget show app command
    Winget install 7zip

نظرات