
Join our monthly Unpacking Software livestream to hear about the latest news, chat and opinion on packaging, software deployment and lifecycle management!

Join the Chocolatey Team on our regular monthly stream where we put a spotlight on the most recent Chocolatey product releases. You’ll have a chance to have your questions answered in a live Ask Me Anything format.

Join us for the Chocolatey Coding Livestream, where members of our team dive into the heart of open source development by coding live on various Chocolatey projects. Tune in to witness real-time coding, ask questions, and gain insights into the world of package management. Don’t miss this opportunity to engage with our team and contribute to the future of Chocolatey!

Webinar from
Wednesday, 17 January 2024

Join the Chocolatey Team as we discuss all things Community, what we do, how you can get involved and answer your Chocolatey questions.
Watch The Replays

Webinar Replay from
Wednesday, 30 March 2022
At Chocolatey Software we strive for simple, and teaching others. Let us teach you just how simple it could be to keep your 3rd party applications updated across your devices, all with Intune!

Livestream from
Thursday, 9 June 2022
Join James and Josh to show you how you can get the Chocolatey For Business recommended infrastructure and workflow, created, in Azure, in around 20 minutes.

Livestream from
Thursday, 04 August 2022
Join Paul and Gary to hear more about the plans for the Chocolatey CLI in the not so distant future. We’ll talk about some cool new features, long term asks from Customers and Community and how you can get involved!

Livestreams from
October 2022

Join our monthly Unpacking Software livestream to hear about the latest news, chat and opinion on packaging, software deployment and lifecycle management!

Join the Chocolatey Team on our regular monthly stream where we put a spotlight on the most recent Chocolatey product releases. You’ll have a chance to have your questions answered in a live Ask Me Anything format.

Join us for the Chocolatey Coding Livestream, where members of our team dive into the heart of open source development by coding live on various Chocolatey projects. Tune in to witness real-time coding, ask questions, and gain insights into the world of package management. Don’t miss this opportunity to engage with our team and contribute to the future of Chocolatey!

Webinar from
Wednesday, 17 January 2024

Join the Chocolatey Team as we discuss all things Community, what we do, how you can get involved and answer your Chocolatey questions.
Watch The Replays

Webinar Replay from
Wednesday, 30 March 2022
At Chocolatey Software we strive for simple, and teaching others. Let us teach you just how simple it could be to keep your 3rd party applications updated across your devices, all with Intune!

Livestream from
Thursday, 9 June 2022
Join James and Josh to show you how you can get the Chocolatey For Business recommended infrastructure and workflow, created, in Azure, in around 20 minutes.

Livestream from
Thursday, 04 August 2022
Join Paul and Gary to hear more about the plans for the Chocolatey CLI in the not so distant future. We’ll talk about some cool new features, long term asks from Customers and Community and how you can get involved!

Livestreams from
October 2022
Наиболее популярным пакетным менеджером для Windows является Chocolatey.
Содержание
Ресурсы
Установка Chocolatey
Порядок установки описан на странице https://chocolatey.org/install.
Установка проводится в PowerShell.
- PowerShell должен быть запущен с правами администратора.
- Проще всего запустить его комбинаций клавиш
Win+X.
Команда установки находится на странице https://chocolatey.org/install.
https://youtube.com/watch?v=_1O4vKHhm3I%3Fautoplay%3D0%26controls%3D1%26end%3D0%26loop%3D0%26mute%3D0%26start%3D0
Дополнительные настройки
- Для того, чтобы установка происходила без запроса подтверждения, можно сделать следующую настройку:
choco feature -nallowGlobalConfirmation - Обратно включить запрос подтверждения можно командой:
choco feature disable -nallowGlobalConfirmation
Пакеты
- Список пакетов находится на странице https://chocolatey.org/packages.
- Список пакетов:
Работа с программным обеспечением
Сервисные функции
- Информация по ключам командной строки:
- Список пакетов в репозитории:
- Список установленных пакетов:
Установка пакета
- Для установки пакета нужно выполнить команду:
choco install package_name - Чтобы установить без запроса на подтверждение, следует добавить ключ
y:choco install package_name -y
Удаление пакета
- Для удаления пакета нужно выполнить команду:
choco uninstall package_name
Обновление пакетов
- Для обновления пакета нужно выполнить команду:
choco upgrade package_name - Для обновления всех установленных пакетов нужно выполнить команду:
Автоматическое обновление пакетов
- Для автоматического обновления пакетов используется пакет
choco-upgrade-all-at:choco install choco-upgrade-all-at - Обновление можно выполнить командой:
- Чтобы задать время обновления, нужно устанавливать с определёнными параметрами:
- если не указывать никаких параметров,
choco-upgrade-all-atпо умолчанию будет запускаться ежедневно в 2 часа ночи и прерываться в 4 часа ночи; - запуск
choco upgrade all -yежедневно (по умолчанию) в 23:00 и прерывание в 1:00 ( по умолчаниюABORTTIMEравно +2 часа):choco install choco-upgrade-all-at --params - запуск
choco upgrade all -yежедневно в 4:00 и прерывание в 8:00:choco install choco-upgrade-all-at --params "'/DAILY:yes /TIME:04:00 /ABORTTIME:08:00'" - запуск
choco upgrade all -yкаждое воскресенье в 1:00 и прерывание в 3:00:choco install choco-upgrade-all-at --params "'/WEEKLY:yes /DAY:SUN /TIME:01:00'"
- если не указывать никаких параметров,
- Параметры можно отредактировать, запустив команду:
Links to this note
Дмитрий Сергеевич Кулябов
Профессор кафедры теории вероятностей и кибербезопасности
Мои научные интересы включают физику, администрирование Unix и сетей.




