Chocolatey (Windows Package Manager) Beginners Guide

แชร์
ฝัง
  • เผยแพร่เมื่อ 8 ก.ย. 2024

ความคิดเห็น • 120

  • @_akimbo
    @_akimbo 5 ปีที่แล้ว +44

    This isn't even what I was looking for but god, am I glad I found this.

    • @godjhaka7376
      @godjhaka7376 ปีที่แล้ว

      Lol how has chocolatey been for your environment? About to roll it out at one college at our university. Another uses Ansible which is more complex/higher than chocolatey. But they can work together, chocolatey just hosting packages for Ansible . Ansible you can make playbooks like "all PCs in X should have office version Y installed". And it checks and makes sure

  • @SuperWolfkin
    @SuperWolfkin 5 ปีที่แล้ว +16

    brother, you have shown me the light. That's insane. Chocolatey will officially replace Ninite for me soon as I verify it has the same programs. I might teach myself batch programming just so I can simplify this even further and have the ultimate "new windows install" script

  • @FiToxFiTox
    @FiToxFiTox 2 ปีที่แล้ว +3

    Simply answer: Thank you

  • @TheDarksideFNothing
    @TheDarksideFNothing ปีที่แล้ว +2

    Took me a minute to figure out that you should actually be using powershell, which is why checking execution policy wasn't working... But otherwise, good video! Gave me the confidence to give it a shot even if I ran into some issues that weren't addressed.

  • @tinavanrikxoord9955
    @tinavanrikxoord9955 3 ปีที่แล้ว +8

    Easy to follow, straight to the point. Excellent. Thank you.

  • @ourtv7325
    @ourtv7325 2 ปีที่แล้ว +3

    I installed Node and this came along with it. Thanks for explaining what it is!

  • @PoeLemic
    @PoeLemic 3 ปีที่แล้ว +3

    This is an incredible video. Thank you for showing us how to use Chocolatey. I have always wanted a package manager like this on Windows. Looks like Microsoft is moving in that direction. This is awesome.

  • @tommydoh
    @tommydoh 7 ปีที่แล้ว +6

    just used it for the first time, i'd used nanite before and found that easier, but this has more content as you said, thanks for this,

    • @BrettInTech
      @BrettInTech  7 ปีที่แล้ว +2

      I agree with you. Ninite is easier to use. With Chocolatey, I found it is best to create a text file that can be used with multiple computers. That makes it easy to use.

  • @mihai_chindris
    @mihai_chindris 2 ปีที่แล้ว +2

    this such a great tool to have under your belt. I've been using it lately to install some programs and I'm staggered to see how easy it is to install software with it. thanks for the vid!

  • @glenn6874
    @glenn6874 7 ปีที่แล้ว +12

    I am a big Linux user and rarely use Windows but I find this useful in Windows. Thanks

    • @BrettInTech
      @BrettInTech  7 ปีที่แล้ว +1

      Linux has been leading the way for awhile with some features. It's nice to see some of those coming to Windows.

    • @godjhaka7376
      @godjhaka7376 ปีที่แล้ว +1

      Chocolatey repo works for Linux, not that Linux needs a new package manager as it's always has them and windows is catching up as most windows users are used to a setup.exe or msi file, and not a package. I use a 3rd party package repository for internal use that can be installed on Linux or windows and work with chocolatey either way. Almost went with *nix but kept everything winblows for now in the test environment. If I had to run it long-term I'd prob choose *nix with no gui as my private repo.
      The repo I use supports not just nuget (chocolatey), but apt and other repos native to *nix, so you could do that too

  • @paradonym
    @paradonym 6 ปีที่แล้ว +8

    Next a video on how to define already installed software as a package to later on manage with chocolatey...

  • @mahdibagali4352
    @mahdibagali4352 3 ปีที่แล้ว +2

    Please upload more such videos.

  • @oliverazemljak
    @oliverazemljak 5 ปีที่แล้ว +3

    Used it for gradle. Installed it painlessly. Thanks!

  • @MrLeadchunker
    @MrLeadchunker 4 ปีที่แล้ว +2

    Great intro to Chocolatey!

  • @satishkumar-zw1zw
    @satishkumar-zw1zw 3 ปีที่แล้ว +3

    Hey, good one! Do you have some videos on SCCM integration of chocolatey and how to use SCCM distribution points for choco packages

  • @mhardy7872
    @mhardy7872 9 หลายเดือนก่อน +2

    Excellent! Wow!

  • @gojohnniegogo
    @gojohnniegogo 7 ปีที่แล้ว +3

    I used to use Npackd for a while on Windows 7 before switching to Windows 10.

    • @BrettInTech
      @BrettInTech  7 ปีที่แล้ว +1

      Npackd is a name I haven't heard in awhile. I thought it had gone away.

  • @ooof5281
    @ooof5281 7 ปีที่แล้ว +10

    If I already have programs installed directly from websites, do I need to uninstall and reinstall with choco in order to upgrade them through cmd?

    • @BrettInTech
      @BrettInTech  7 ปีที่แล้ว +8

      You would need to reinstall those programs using Chocolatey for it to upgrade those programs through command prompt.

    • @ooof5281
      @ooof5281 7 ปีที่แล้ว +4

      TechGumbo thank you! So glad I found your channel! I'm gonna get to uninstalling/reinstalling from Choco :)

  • @mikemurphy2407
    @mikemurphy2407 6 ปีที่แล้ว +4

    Is there a way to set this up as a windows server deployment, or does it have to be installed on the client?

  • @PoeLemic
    @PoeLemic 3 ปีที่แล้ว +1

    Because of this awesome video, subbing ...

  • @SuperCruelworld
    @SuperCruelworld 6 ปีที่แล้ว +4

    do the updates only work for Chocolatey downloads or for any that need updating?

  • @aftabuzzaman7459
    @aftabuzzaman7459 6 ปีที่แล้ว +2

    Thanks buddy. You helped me a lot.

  • @unclealig
    @unclealig 3 ปีที่แล้ว +2

    nice vid. but i have two questions:
    1) what means "do you want to run the script"? Whats behind the script?
    2) how can i change install options (for example some installers will have a ticked checkbox to install yahoo startpage; or i will have the options to check/uncheck file extensions to be connected with the software to be installed; or other install options...)

    • @ozmobozo
      @ozmobozo 3 ปีที่แล้ว +1

      1- it does that I agree the terms stuff and choosing install directory
      2- I'm using this for notepad++, steam, chrome, mpc-hc, codeblocks, winrar etc. And these installers normally don't have bloatware anyway but you have to check the website if you're unsure, I mean the package is sometimes different than the regular installer so package creator could easily remove bloatware.

  • @onlineidentity6826
    @onlineidentity6826 7 ปีที่แล้ว +3

    Excellent video and another new utility to test and hopefully add to my toolbox. Thankyou.
    One question / thought : As these are community maintained, what is in place from a security perspective to ensure there are no "malevolent" packages ?

    • @BrettInTech
      @BrettInTech  7 ปีที่แล้ว +3

      I understand your concern. All packages are moderator reviewed. As with anything, there could be mistakes. Chocolatey does provide a moderator queue to see what is pending approval. Go to packages, select "Normal View" and change to "Moderator Queue". I feel comfortable with their process.

  • @nichatz
    @nichatz 5 ปีที่แล้ว +2

    Thanks very much! I'm going to use it for my next windows clean installation.

  • @Christiegotgame
    @Christiegotgame 4 ปีที่แล้ว +2

    Thank you this worked quick and easy for this newbie!

  • @techtipsuk
    @techtipsuk 7 ปีที่แล้ว +7

    Is it possible to change the default install location? I don't install to my c drive. Just wondered if you can pass it a parameter to change this.

    • @BrettInTech
      @BrettInTech  7 ปีที่แล้ว +4

      Yes. You can change the default install location, although the method is not very user friendly. Instead of posting the entire instructions. Here is a link to the wiki page. github.com/chocolatey/choco/wiki/GettingStarted

  • @K0media
    @K0media 5 ปีที่แล้ว +3

    Simple at a glance. Thanks for the tips.

  • @bijishvijayan3690
    @bijishvijayan3690 7 ปีที่แล้ว +3

    Extremely useful this is.. keep up the good work bro..

  • @ASHMAN750
    @ASHMAN750 7 ปีที่แล้ว +3

    the name Tech gumbo is perfect just wanted you to know that

    • @BrettInTech
      @BrettInTech  7 ปีที่แล้ว +1

      That's good to know Rasheik. Just picked a name that represents my part of the country.

    • @ASHMAN750
      @ASHMAN750 7 ปีที่แล้ว

      TechGumbo thank you wow you even reply to your comments your awesome guy

  • @adamrat3597
    @adamrat3597 2 ปีที่แล้ว +1

    after i am done installing a program. how do i run the program. i installed neko, the virtural machine program and i dont know how to run it. i pressed the windows key and typed "neko" and the chocolatey logo popped up and said run command or something like that and when i clicked on open nothing happened. i also clicked on run as administrator.

  • @williancampos4606
    @williancampos4606 5 ปีที่แล้ว +2

    amazing, thanks

  • @ravingagunawardana178
    @ravingagunawardana178 6 ปีที่แล้ว +2

    Thanks!

  • @susamay
    @susamay 4 ปีที่แล้ว +2

    Good!

  • @Mrvimal30
    @Mrvimal30 5 ปีที่แล้ว +1

    How to check pkg size....also what was installed through chololatey

  • @knowledge3563
    @knowledge3563 4 ปีที่แล้ว +2

    can u make installers with this program i mean for more then one user or pc to install ?

  • @maximilianputzcoaching7924
    @maximilianputzcoaching7924 5 ปีที่แล้ว +2

    Great stuff

  • @j7ndominica051
    @j7ndominica051 7 ปีที่แล้ว +4

    The command line part isn't that intimidating. I don't like that I don't get to examine the installers for size and bundled libraries and save the packages for later use. I feel like I'm asked to trust the provider too much. Windows software usually spoils and the latest version isn't always the best. If I don't care to have the absolute latest, then installing setup.exe from local storage on a new computer is quick too.

    • @AlexChama
      @AlexChama 5 ปีที่แล้ว +1

      This is exactly what I am thinking. I want a competent package updater, ideally with a GUI, not because command line is intimidating me which I regularly use anyways, but because I like having a visual glance over my settings and anything else.
      I can probably count the installers that I let proceed with default settings on one hand. :D
      That's why I'm now trying out SUMO. It lets you update, not install.

  • @vyper1126
    @vyper1126 3 ปีที่แล้ว +1

    If I install a program normally. Can I update the program via chocolately?

  • @robinmaurer2645
    @robinmaurer2645 2 ปีที่แล้ว +1

    How can you specify instalation paths?

  • @hamishgrant2802
    @hamishgrant2802 4 ปีที่แล้ว +2

    Thanks for the video.
    I'm looking for a similar piece of software, but I want the software to install about 15 programs one after the other, that I have stored on a USB stick and add the licence keys automatically as well.
    So I don't want software that will download the programs off of the internet first. I just need it to automatically execute .exe on my USB stick and go through the wizard on it's own.
    Also I need it to install fonts.
    Does anyone know of a piece of software that will do this for me?

  • @rytramprophet843
    @rytramprophet843 2 ปีที่แล้ว +1

    i just dont get it. it there something difficult about just going and getting it. everything has to be converted into PS/CMD/BASH lines in order to do it? if you have to go and SEE what packages you can get and their commands, then you can just go and download what you want from its source.
    can I just "Choco update GeForce"? much like you can do with Apt-Get? not that there is a need to because this is readily available when you open GFE

  • @arkasingha6111
    @arkasingha6111 3 ปีที่แล้ว +1

    Hy man can u tell me how to use the pin command. choco is showing me this error. "Unknown command notepadplusplus. Setting to list. "

  • @thetruejay20
    @thetruejay20 ปีที่แล้ว +1

    how to make a .bat or script I can just click to install everything?

  • @vishnumehta2101
    @vishnumehta2101 4 ปีที่แล้ว +1

    i have added -y at the end still the promt ask for yes and no why ??

  • @vqx14
    @vqx14 3 ปีที่แล้ว +2

    Can I do this in windows 8.1

  • @tudornic
    @tudornic 5 ปีที่แล้ว +2

    How can you change the installation directory of the packages?

    • @hkdemiralp
      @hkdemiralp 4 ปีที่แล้ว +1

      You can change installation location like that for example gimp (but not all software support this):
      choco install gimp -ia "'/D=C:\some_dir\gimp'"

  • @mcfinnigan23
    @mcfinnigan23 5 ปีที่แล้ว +2

    Ffs why didn't I find this earlier! Thanks for the video!

  • @der_rechtsamwald
    @der_rechtsamwald 7 ปีที่แล้ว +2

    What is the difference between a package with name and with name.install? f.e. 7zip and 7zip.install

    • @BrettInTech
      @BrettInTech  7 ปีที่แล้ว +1

      There is no difference. Sometimes .install is used for discovery. There is no need for you to add the .install into the command prompt window. So if you see "choco install 7zip.install", you can just enter "choco install 7zip".

    • @der_rechtsamwald
      @der_rechtsamwald 7 ปีที่แล้ว +1

      Thank you for your fast response! :)

  • @Jieming
    @Jieming 4 ปีที่แล้ว +1

    I have issue like this : Exception calling "DownloadString" with "1" argument(s): "The request was aborted: Could not create SSL/TLS secure
    channel."
    At line:1 char:1
    + iex ((New-Object System.Net.WebClient).DownloadString('chocol ...
    + ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
    + CategoryInfo : NotSpecified: (:) [], MethodInvocationException
    + FullyQualifiedErrorId : WebException

  • @Capitan_Mega
    @Capitan_Mega 2 ปีที่แล้ว +1

    I can't use what i installed Pls what is going on!!!? Can you even use Ubuntu on cmd after installing it 🤨

  • @Lucas-nk5pz
    @Lucas-nk5pz 7 ปีที่แล้ว +2

    Nice video

  • @shubhrajit2117
    @shubhrajit2117 ปีที่แล้ว +2

    Things I don't like about Choco:
    1. It doesn't set any start menu shortcuts.
    2. Synchroniser is only available in Pro, so I need to manually map all previously installed application.

  • @derzimtraucher9748
    @derzimtraucher9748 3 ปีที่แล้ว +1

    If a program has auto updaters, is choco recognizing these automatic updates, or is it stuck on the version it installed?

    • @ozmobozo
      @ozmobozo 3 ปีที่แล้ว

      choco update all -y

  • @ThatGreenSpy
    @ThatGreenSpy 4 ปีที่แล้ว +2

    Thank goodness I've had prior experience working in linux.

  • @meaj
    @meaj 6 ปีที่แล้ว +2

    ty

  • @user-jx3qv5dl3b
    @user-jx3qv5dl3b 7 ปีที่แล้ว +17

    I wish it was default in Windows, man...

    • @j.s9875
      @j.s9875 4 ปีที่แล้ว

      @Sohail Khan how?

    • @nikunjkhangwal
      @nikunjkhangwal ปีที่แล้ว +1

      Now it does with winget

  • @Vatuxki
    @Vatuxki 7 ปีที่แล้ว +5

    Nice!

  • @bzz3624
    @bzz3624 7 ปีที่แล้ว +3

    What is the purpose of this and why is it useful?

    • @BrettInTech
      @BrettInTech  7 ปีที่แล้ว +1

      You can install and upgrade multiple programs at the same time, which is easier and saves time over doing each program individually. This is especially useful with fresh installs on new computers.

    • @bzz3624
      @bzz3624 7 ปีที่แล้ว

      ok , cheers.

  • @Xyz99899
    @Xyz99899 5 ปีที่แล้ว +1

    Just downloadeded etcher......how do I run it after install?

    • @cotmouf
      @cotmouf 5 ปีที่แล้ว

      If you want the GUI version you can use install it by running
      choco install chocolateygui
      to use in cmd or powershell just type choco search [blank] or choco install [blank]

  • @damienmathieu1
    @damienmathieu1 5 ปีที่แล้ว +1

    I have an error message " ... n'est pas reconnu comme commande interne ".
    thanks.

  • @xrr281
    @xrr281 7 ปีที่แล้ว +5

    Does it install any unwanted toolbars as well? I hate it when programs are doing this...

    • @BrettInTech
      @BrettInTech  7 ปีที่แล้ว +6

      Just like Ninite, Chocolatey will not install toolbars or any other extra junk.

    • @ImGoingSSJ97
      @ImGoingSSJ97 6 ปีที่แล้ว

      cinst unchecky -yf
      ^this app will run secretly in background and deny any kind of toolbars and unwanted addon shit.

  • @akhilkochi
    @akhilkochi 7 ปีที่แล้ว +2

    guys do video on the free best pdf viewers + Editors...!!!

    • @BrettInTech
      @BrettInTech  7 ปีที่แล้ว

      Finding viewer and editors is easy. I would like to do a video on PDF creators that are as good or better than Adobe Acrobat, but so far all the alternatives have been disappointing. Anyone that knows of a really good PDF creator, let me know.

  • @Antoon55
    @Antoon55 7 ปีที่แล้ว +1

    How do you start an installed program

    • @BrettInTech
      @BrettInTech  7 ปีที่แล้ว +2

      Depending on your operating system. Find the executable, add to your start menu, or taskbar, or add a shortcut to your desktop.

  • @doonguitarlessons
    @doonguitarlessons 4 ปีที่แล้ว +1

    Hi, I have created my own bundle on windows 7 and want to learn how to pack it for commercial use

  • @MrElciupacabra
    @MrElciupacabra 3 ปีที่แล้ว +1

    you didn't say how to run the installed packages and most important where are they installed... like I will find them in ProgramFiles ? or under a choco folder something
    ?

  • @1techdave
    @1techdave 7 ปีที่แล้ว +1

    so these programs show up on window Programs list? Can you Uninstall a program from there or only from choco?
    Also can you run a batch file to do all of this, that would essentially give you a 1 click install if you could

    • @BrettInTech
      @BrettInTech  7 ปีที่แล้ว

      Uninstalling Choco programs can be a little tricky. Sometimes the programs will show up in the system "Programs and Features", sometimes they don't. For example: In this video, I installed Maxthon and Notepad++. Notepad++ shows up in "Programs and Features", Maxthon does not. So Maxthon would need to be uninstalled using Choco only.

  • @smokeypillow
    @smokeypillow 4 ปีที่แล้ว +2

    When I run the command prompt I get "'Set-ExecutionPolicy' is not recognized as an internal or external command,
    operable program or batch file."

    • @smokeypillow
      @smokeypillow 4 ปีที่แล้ว

      Nevermind, I was using the command prompt, not Windows PowerShell.

  • @verschlusssache6283
    @verschlusssache6283 3 ปีที่แล้ว +1

    Well the shit won't install. It says I either have a typo or was not to be found. I am quitting university, I guess.

    • @ozmobozo
      @ozmobozo 3 ปีที่แล้ว +1

      Where exactly are you stuck so I can help

  • @grahambrown5874
    @grahambrown5874 4 ปีที่แล้ว +1

    How do you know you can trust the software that some else has packaged. Surely, they could embed malware in the package that could spy on your pc. Would anyone use this on their corporate network?

  • @roozbehzarei6943
    @roozbehzarei6943 3 ปีที่แล้ว +1

    When installing apps directly, you can use the options in the installer to customize how the app should behave. In Chocolately you get none of these options, it just straight installs the app using default settings. This is not cool!

  • @gsusfrk333
    @gsusfrk333 2 ปีที่แล้ว +1

    Just gonna say, a nice bowl of gumbo sounds good about now.

  • @renascence239
    @renascence239 4 ปีที่แล้ว +3

    I thought that Windows is dumb, and that for what I wanted to do, I needed Linux or Mac.
    I was lied to my whole life.

  • @Gilgwathir
    @Gilgwathir 4 ปีที่แล้ว +2

    If someoen doesn't know how to copy/paste and open a CMD as admin, they probably shouldn't be monkeying around with chocolaty in the first place

  • @redheadsg1
    @redheadsg1 4 ปีที่แล้ว +1

    I don't like it ... no GUI, you need to buy Pro version to have an option to install software to different location (i mean WTF ? that is basic funtion), hard to know if install is outdated .... Npackd 64 is better for me IMO.

  • @Our1stPlanet
    @Our1stPlanet 3 ปีที่แล้ว +1

    Hello
    DANGER
    I downloaded WinMerge from Chocolatey which worked as expected.
    HOWEVER, now when using RoboCopy in my own Powershell Scripts,
    it's Parameter are reversed.
    This means every new backup justs resets my code.
    I did a system restore and the problem was temporily solved.
    The problem has remerged.
    Has anybody any suggestions how to resolve the problem.
    I dont know who is responsible for this malicious BUG
    To whoever this is
    Im not amused, Ha Ha very funny.

  • @alexturcani3234
    @alexturcani3234 4 ปีที่แล้ว +1

    If you have to do all this, you might just want t do it your self anyway.

  • @MobileDecay
    @MobileDecay 5 ปีที่แล้ว +1

    This would be way better if it had a gui and I didn't have to go on the internet to install stuff. Pointless.

  • @maximilianputzcoaching7924
    @maximilianputzcoaching7924 5 ปีที่แล้ว +1

    Great stuff