<?xml version="1.0" encoding="UTF-8"?><rss version="2.0"
	xmlns:content="http://purl.org/rss/1.0/modules/content/"
	xmlns:wfw="http://wellformedweb.org/CommentAPI/"
	xmlns:dc="http://purl.org/dc/elements/1.1/"
	xmlns:atom="http://www.w3.org/2005/Atom"
	xmlns:sy="http://purl.org/rss/1.0/modules/syndication/"
	xmlns:slash="http://purl.org/rss/1.0/modules/slash/"
	>

<channel>
	<title>chocolatey Archives - Linux Windows and android Tutorials</title>
	<atom:link href="https://www.osradar.com/tag/chocolatey/feed/" rel="self" type="application/rss+xml" />
	<link>https://www.osradar.com</link>
	<description>tutorials and news and Seurity</description>
	<lastBuildDate>Tue, 03 Mar 2020 00:50:21 +0000</lastBuildDate>
	<language>en-US</language>
	<sy:updatePeriod>
	hourly	</sy:updatePeriod>
	<sy:updateFrequency>
	1	</sy:updateFrequency>
	<generator>https://wordpress.org/?v=5.8.12</generator>
	<item>
		<title>How to install apps in Windows 10 with the command line</title>
		<link>https://www.osradar.com/how-to-install-apps-in-windows-10-with-the-command-line/</link>
					<comments>https://www.osradar.com/how-to-install-apps-in-windows-10-with-the-command-line/#respond</comments>
		
		<dc:creator><![CDATA[Mel]]></dc:creator>
		<pubDate>Tue, 03 Mar 2020 00:50:21 +0000</pubDate>
				<category><![CDATA[Desktop]]></category>
		<category><![CDATA[Featured]]></category>
		<category><![CDATA[Tools]]></category>
		<category><![CDATA[chocolatey]]></category>
		<category><![CDATA[cmd]]></category>
		<category><![CDATA[cmd windows 10]]></category>
		<category><![CDATA[Command line]]></category>
		<category><![CDATA[command prompt]]></category>
		<category><![CDATA[package manager windows]]></category>
		<category><![CDATA[powershell]]></category>
		<guid isPermaLink="false">https://windowsmen.com/?p=754</guid>

					<description><![CDATA[<p>Hi, how are you? For all traditional Windows users, installing apps has no secrets. In fact, you just have to download the installer, run it and follow the instructions. And by going to the app stores, this process is even easier. Just download it if it&#8217;s free or buy it if it&#8217;s paid and the [&#8230;]</p>
<p>The post <a rel="nofollow" href="https://www.osradar.com/how-to-install-apps-in-windows-10-with-the-command-line/">How to install apps in Windows 10 with the command line</a> appeared first on <a rel="nofollow" href="https://www.osradar.com">Linux  Windows and android  Tutorials</a>.</p>
]]></description>
										<content:encoded><![CDATA[
<p>Hi, how are you? For all traditional Windows users, installing apps has no secrets. In fact, you just have to download the installer, run it and follow the instructions. And by going to the app stores, this process is even easier. Just download it if it&#8217;s free or buy it if it&#8217;s paid and the process will be done automatically. However, it is not the same to install a single application than to install several of them. Especially when you buy a new PC or format an old one. Similarly, when working with maintenance of several computers. Anyway, tools like <a rel="noreferrer noopener" aria-label="Chocolatey  (opens in a new tab)" href="https://chocolatey.org" target="_blank">Chocolatey </a>are very helpful. So in this post we&#8217;ll see how to install apps in Windows 10 from the command line.</p>



<h2>Chocolatey. A package manager for Windows.</h2>



<p>This is a concept traditionally associated with Linux operating systems and away from the Windows ecosystem. In simple terms, it consists in that when installing a program, not only the main package is downloaded, but also the packages on which the program depends. It seems like a complex process, but in reality what it does is simplify the process. Well, Chocolatey what it does is bring this philosophy to Windows. Consequently, it is possible to install apps with a command line command. On the other hand, by installing apps in the traditional way, you run the risk of downloading PUPs or even malware. </p>



<p>Chocolatey makes sure to download the programs from their verified and reliable source. Specifically, there are more than 7,500 packages available to be installed. In the list, there are such well-known options as Google Chrome, Skype, Adobe Acrobat Reader. But there are also free and open source software available, such as 7-Zip, VLC or Mozilla Firefox. First, let&#8217;s install the package manager. This requires running a PowerShell with administrative privileges. With this intention, press the Win+X combination and execute the console:</p>



<figure class="wp-block-image size-large"><img src="https://windowsmen.com/wp-content/uploads/2020/03/choco.jpg" alt="Run a PowerShell with administrative privileges" class="wp-image-756"/><figcaption>Run a PowerShell with administrative privileges</figcaption></figure>



<p>Once the console is open, please execute the following command:</p>



<pre class="wp-block-preformatted">Set-ExecutionPolicy Bypass -Scope Process -Force; [System.Net.ServicePointManager]::SecurityProtocol = [System.Net.ServicePointManager]::SecurityProtocol -bor 3072; iex ((New-Object System.Net.WebClient).DownloadString('https://chocolatey.org/install.ps1'))</pre>



<figure class="wp-block-image size-large"><img src="https://windowsmen.com/wp-content/uploads/2020/03/choco2-1024x548.jpg" alt="Chocolatey installation successful." class="wp-image-758"/><figcaption>Chocolatey installation successful.</figcaption></figure>



<p> It can be seen that the installation route is in&nbsp;<strong>C:\ProgramData\chocolatey</strong>&nbsp;In the same way, the subdirectory lib is used for the packages. </p>



<h2>Install and uninstall apps with Chocolatey.</h2>



<p>Once downloaded and installed, you are ready for the first steps with Chocolatey. First, to access help, please run this command from the PowerShell:</p>



<pre class="wp-block-preformatted"> choco /?  </pre>



<figure class="wp-block-image size-large"><img src="https://windowsmen.com/wp-content/uploads/2020/03/choco3-1024x548.jpg" alt="Chocolatey Help" class="wp-image-761"/><figcaption>Chocolatey Help</figcaption></figure>



<p>To see if a package is available, use the <em>search</em> command::</p>



<pre class="wp-block-preformatted">search</pre>



<figure class="wp-block-image size-large"><img src="https://windowsmen.com/wp-content/uploads/2020/03/choco4.jpg" alt="Winrar package available" class="wp-image-762"/><figcaption>Winrar package available</figcaption></figure>



<p>To install it, just run this command:</p>



<pre class="wp-block-preformatted">choco install winrar</pre>



<p>Please note that you always have to confirm the installation.</p>



<figure class="wp-block-image size-large"><img src="https://windowsmen.com/wp-content/uploads/2020/03/choco5.jpg" alt="Installing Winrar with Chocolatey" class="wp-image-764"/><figcaption>Installing Winrar with Chocolatey</figcaption></figure>



<p>To uninstall the program just use the command:</p>



<pre class="wp-block-preformatted">uninstall</pre>



<figure class="wp-block-image size-large"><img src="https://windowsmen.com/wp-content/uploads/2020/03/choco6-1-1024x548.jpg" alt="Uninstall the app" class="wp-image-767"/><figcaption>Uninstall the app</figcaption></figure>



<h2>Other useful commands from Chocolatey.</h2>



<p>Once you have several programs installed using Chocolatey, it is possible to update them all using the update command:</p>



<pre class="wp-block-preformatted">choco update</pre>



<p>To install several programs at once, use the install command followed by the names of all the packages. Example:</p>



<pre class="wp-block-preformatted">choco Install firefox 7zip vlc skype </pre>



<p>In this example four popular apps will be installed. These are the Firefox browser, the 7zip file uncompressor, the VLC media player and the Skype video calling and messaging app. On the other hand, to install the Chocolatey graphic manager, run this command:</p>



<pre class="wp-block-preformatted"> choco install chocolateygui </pre>



<p>Besides, to see a list of all available packages, use this command:</p>



<pre class="wp-block-preformatted">choco list</pre>



<h2>Conclusion</h2>



<p>Ultimately, we&#8217;ve seen how to install apps on Windows 10 using the command line. Consequently, you have another interesting option to install programs quickly and safely. Likewise, you can see the programs available and their respective command from the <a rel="noreferrer noopener" aria-label="Chocolatey  (opens in a new tab)" href="https://chocolatey.org/packages" target="_blank">Chocolatey </a>website. All right, that&#8217;s it for now. Before saying goodbye I invite you to see our post about the next Windows 10 <a href="https://windowsmen.com/windows-10-update-kb4535996-is-not-available-to-everyone/" target="_blank" rel="noreferrer noopener" aria-label="update (opens in a new tab)">update</a>. See you soon!</p>
<p>The post <a rel="nofollow" href="https://www.osradar.com/how-to-install-apps-in-windows-10-with-the-command-line/">How to install apps in Windows 10 with the command line</a> appeared first on <a rel="nofollow" href="https://www.osradar.com">Linux  Windows and android  Tutorials</a>.</p>
]]></content:encoded>
					
					<wfw:commentRss>https://www.osradar.com/how-to-install-apps-in-windows-10-with-the-command-line/feed/</wfw:commentRss>
			<slash:comments>0</slash:comments>
		
		
			</item>
		<item>
		<title>How to install Chocolatey in Windows 10</title>
		<link>https://www.osradar.com/how-to-install-chocolatey-in-windows-10/</link>
					<comments>https://www.osradar.com/how-to-install-chocolatey-in-windows-10/#respond</comments>
		
		<dc:creator><![CDATA[roger]]></dc:creator>
		<pubDate>Wed, 27 Nov 2019 13:29:13 +0000</pubDate>
				<category><![CDATA[Applications]]></category>
		<category><![CDATA[Desktop]]></category>
		<category><![CDATA[Technology]]></category>
		<category><![CDATA[Windows]]></category>
		<category><![CDATA[chocolatey]]></category>
		<category><![CDATA[package manager]]></category>
		<category><![CDATA[package manager command]]></category>
		<category><![CDATA[Windows 10]]></category>
		<guid isPermaLink="false">https://www.osradar.com/?p=15984</guid>

					<description><![CDATA[<p>Hello, how are you? Today we&#8217;re going to talk a bit about the package management system. That system, also known as a package manager, is a collection of tools that serve to automate the process of installing, updating, configuring and removing software packages. This term is intimately associated with GNU/Linux systems. Because they rely heavily [&#8230;]</p>
<p>The post <a rel="nofollow" href="https://www.osradar.com/how-to-install-chocolatey-in-windows-10/">How to install Chocolatey in Windows 10</a> appeared first on <a rel="nofollow" href="https://www.osradar.com">Linux  Windows and android  Tutorials</a>.</p>
]]></description>
										<content:encoded><![CDATA[
<p>Hello, how are you? Today we&#8217;re going to talk a bit about the package management system. That system, also known as a package manager, is a collection of tools that serve to automate the process of installing, updating, configuring and removing software packages. This term is intimately associated with GNU/Linux systems. Because they rely heavily on package managers. As we mentioned at the beginning, this term is intimately associated with Linux, as it is the main method for installing and uninstalling applications. However, it is possible to install a package manager on Windows. We are talking about Chocolatey. This software management and automation system is based on PowerShell and is able to work with different software installers for Windows systems such as MSI, NSIS, InnoSetup, installation binaries and compressed files (ZIP). Sounds great, doesn&#8217;t it? So, we&#8217;re going to see how to install and use Chocolatey in Windows 10.</p>



<h2>Installing Chocolatey.</h2>



<p>Chocolatey behaves just like any other package manager. Additionally, it simply handles all aspects of software administration. In other words, installation, configuration, updating, and uninstallation. In addition, this manager is that it allows you to install and maintain both free and open-source software and proprietary software that requires licenses. On the other hand, the download process is safe since the packages in the Chocolatey repository use automation scripts that download the software from official distribution sites. Now, to download and install the package manager, you need to open a PowerShell with administrative privileges. With this in mind, press the Win+X combination:</p>



<figure class="wp-block-image size-large"><img loading="lazy" width="272" height="570" src="//1723336065.rsc.cdn77.org/wp-content/uploads/2019/11/choco2.jpg" alt="Invoking a PowerShell with administrator privileges." class="wp-image-15990" srcset="https://www.osradar.com/wp-content/uploads/2019/11/choco2.jpg 272w, https://www.osradar.com/wp-content/uploads/2019/11/choco2-143x300.jpg 143w, https://www.osradar.com/wp-content/uploads/2019/11/choco2-200x420.jpg 200w" sizes="(max-width: 272px) 100vw, 272px" /><figcaption>Invoking a PowerShell with administrator privileges.</figcaption></figure>



<p>Once inside the PowerShell you have to add the following text:</p>



<pre class="wp-block-preformatted">Set-ExecutionPolicy Bypass -Scope Process -Force; iex ((New-Object System.Net.WebClient).DownloadString('https://chocolatey.org/install.ps1')) </pre>



<p>By running this script, the console will connect to <a rel="noreferrer noopener" aria-label="Chocolatey's (opens in a new tab)" href="https://chocolatey.org" target="_blank">Chocolatey&#8217;s</a> website. Then, it will download the latest compressed version, unzip it and install it. All this automatically.</p>



<figure class="wp-block-image size-large"><img loading="lazy" width="1024" height="728" src="//1723336065.rsc.cdn77.org/wp-content/uploads/2019/11/choco.jpg" alt="" class="wp-image-15992" srcset="https://www.osradar.com/wp-content/uploads/2019/11/choco.jpg 1024w, https://www.osradar.com/wp-content/uploads/2019/11/choco-300x213.jpg 300w, https://www.osradar.com/wp-content/uploads/2019/11/choco-768x546.jpg 768w, https://www.osradar.com/wp-content/uploads/2019/11/choco-100x70.jpg 100w, https://www.osradar.com/wp-content/uploads/2019/11/choco-696x495.jpg 696w, https://www.osradar.com/wp-content/uploads/2019/11/choco-591x420.jpg 591w" sizes="(max-width: 1024px) 100vw, 1024px" /><figcaption>Downloading and installing the latest version of Chocolatey.</figcaption></figure>



<p>It can be seen that the installation route was in <strong>C:\ProgramData\chocolatey</strong>  In the same way, the subdirectory lib is used for the packages.</p>



<h2>First steps with Chocolatey</h2>



<p>We have seen that the installation process is very simple. To access the help manager, simply run the following command from the PowerShell or any CMD:</p>



<pre class="wp-block-preformatted">choco /? </pre>



<figure class="wp-block-image size-large"><img loading="lazy" width="1024" height="728" src="//1723336065.rsc.cdn77.org/wp-content/uploads/2019/11/choco3.jpg" alt="Chocolatey Help." class="wp-image-15993" srcset="https://www.osradar.com/wp-content/uploads/2019/11/choco3.jpg 1024w, https://www.osradar.com/wp-content/uploads/2019/11/choco3-300x213.jpg 300w, https://www.osradar.com/wp-content/uploads/2019/11/choco3-768x546.jpg 768w, https://www.osradar.com/wp-content/uploads/2019/11/choco3-100x70.jpg 100w, https://www.osradar.com/wp-content/uploads/2019/11/choco3-696x495.jpg 696w, https://www.osradar.com/wp-content/uploads/2019/11/choco3-591x420.jpg 591w" sizes="(max-width: 1024px) 100vw, 1024px" /><figcaption>Chocolatey Help.</figcaption></figure>



<p>To search for packages, just use the <em>search</em> subcommand:</p>



<figure class="wp-block-image size-large"><img loading="lazy" width="1024" height="728" src="//1723336065.rsc.cdn77.org/wp-content/uploads/2019/11/choco4.jpg" alt="Sub-command search" class="wp-image-15994" srcset="https://www.osradar.com/wp-content/uploads/2019/11/choco4.jpg 1024w, https://www.osradar.com/wp-content/uploads/2019/11/choco4-300x213.jpg 300w, https://www.osradar.com/wp-content/uploads/2019/11/choco4-768x546.jpg 768w, https://www.osradar.com/wp-content/uploads/2019/11/choco4-100x70.jpg 100w, https://www.osradar.com/wp-content/uploads/2019/11/choco4-696x495.jpg 696w, https://www.osradar.com/wp-content/uploads/2019/11/choco4-591x420.jpg 591w" sizes="(max-width: 1024px) 100vw, 1024px" /><figcaption>Sub-command search</figcaption></figure>



<p>In the previous box, we did a search for open-source software. But there is also the availability of proprietary software:</p>



<figure class="wp-block-image size-large"><img loading="lazy" width="1024" height="728" src="//1723336065.rsc.cdn77.org/wp-content/uploads/2019/11/choco5.jpg" alt="Searching for Adobe Reader packets" class="wp-image-15996" srcset="https://www.osradar.com/wp-content/uploads/2019/11/choco5.jpg 1024w, https://www.osradar.com/wp-content/uploads/2019/11/choco5-300x213.jpg 300w, https://www.osradar.com/wp-content/uploads/2019/11/choco5-768x546.jpg 768w, https://www.osradar.com/wp-content/uploads/2019/11/choco5-100x70.jpg 100w, https://www.osradar.com/wp-content/uploads/2019/11/choco5-696x495.jpg 696w, https://www.osradar.com/wp-content/uploads/2019/11/choco5-591x420.jpg 591w" sizes="(max-width: 1024px) 100vw, 1024px" /><figcaption>Searching for Adobe Reader packets</figcaption></figure>



<p>On the other hand, you can access the Chocolatey package <a rel="noreferrer noopener" aria-label="repository (opens in a new tab)" href="https://chocolatey.org/packages" target="_blank">repository</a> and search for available programs. To install the program just add the <em>install</em> parameter. It is always necessary to confirm the installation. Let&#8217;s try with <a href="https://notepad-plus-plus.org" target="_blank" rel="noreferrer noopener" aria-label="Notepad++ (opens in a new tab)">Notepad++</a></p>



<figure class="wp-block-image size-large"><img loading="lazy" width="1024" height="728" src="//1723336065.rsc.cdn77.org/wp-content/uploads/2019/11/choco6.jpg" alt="" class="wp-image-15998" srcset="https://www.osradar.com/wp-content/uploads/2019/11/choco6.jpg 1024w, https://www.osradar.com/wp-content/uploads/2019/11/choco6-300x213.jpg 300w, https://www.osradar.com/wp-content/uploads/2019/11/choco6-768x546.jpg 768w, https://www.osradar.com/wp-content/uploads/2019/11/choco6-100x70.jpg 100w, https://www.osradar.com/wp-content/uploads/2019/11/choco6-696x495.jpg 696w, https://www.osradar.com/wp-content/uploads/2019/11/choco6-591x420.jpg 591w" sizes="(max-width: 1024px) 100vw, 1024px" /><figcaption>Installing Notepad++ with chocolatey</figcaption></figure>



<p>If you want to answer yes automatically, you must add the -and option. Additionally, check the installation, looking for Notepad++ in Windows programs.</p>



<figure class="wp-block-image size-large"><img loading="lazy" width="760" height="640" src="//1723336065.rsc.cdn77.org/wp-content/uploads/2019/11/choco7.jpg" alt="Notepad++ successfully installed on Windows 10" class="wp-image-15999" srcset="https://www.osradar.com/wp-content/uploads/2019/11/choco7.jpg 760w, https://www.osradar.com/wp-content/uploads/2019/11/choco7-300x253.jpg 300w, https://www.osradar.com/wp-content/uploads/2019/11/choco7-696x586.jpg 696w, https://www.osradar.com/wp-content/uploads/2019/11/choco7-499x420.jpg 499w" sizes="(max-width: 760px) 100vw, 760px" /><figcaption>Notepad++ successfully installed on Windows 10</figcaption></figure>



<h2>Other basic chocolatey commands.</h2>



<p>To uninstall a package, simply use the <em>uninstall</em> subcommand. For example:</p>



<pre class="wp-block-preformatted"> choco uninstall firefox</pre>



<p>To update a package, run the subcommand<em> upgrade</em>:</p>



<pre class="wp-block-preformatted"> choco upgrade firefox </pre>



<p>To update all packages, add the keyword <em>all -y</em>:</p>



<pre class="wp-block-preformatted"> choco upgrade all -y </pre>



<p>We have finally seen how to install chocolatey in Windows 10. Thanks to this tool, it is possible to manage the software of a set of Windows systems in an automated and unattended way. This is it, for now, check our post about <a rel="noreferrer noopener" aria-label="Apache (opens in a new tab)" href="https://www.osradar.com/how-to-install-apache-on-windows-10/" target="_blank">Apache</a> in Windows 10.</p>
<p>The post <a rel="nofollow" href="https://www.osradar.com/how-to-install-chocolatey-in-windows-10/">How to install Chocolatey in Windows 10</a> appeared first on <a rel="nofollow" href="https://www.osradar.com">Linux  Windows and android  Tutorials</a>.</p>
]]></content:encoded>
					
					<wfw:commentRss>https://www.osradar.com/how-to-install-chocolatey-in-windows-10/feed/</wfw:commentRss>
			<slash:comments>0</slash:comments>
		
		
			</item>
	</channel>
</rss>
