Installing Windows Useful Tools and Utilities#
Before installing R and RStudio, I would like to introduce a few additional tools that, while not mandatory, can significantly enhance your software engineering workflow. These tools are designed to streamline various tasks, making your development process more efficient and enjoyable.
In this section, we will cover the installation of the following utilities:
Chocolatey (choco): A powerful package manager for Windows that simplifies the installation and management of software.
wget: A command-line utility for downloading files from the web, which is especially useful for automating batch downloads.
curl: Another command-line tool for transferring data with URLs, offering flexibility for a variety of network-related tasks.
By incorporating these tools into your toolkit, you can leverage their capabilities to improve your overall productivity and streamline various aspects of your development environment.
Installing Chocolatey Windows Package Manager#
Requirements#
Supported Windows client and server Operating Systems (can run on older Operating Systems)
PowerShell v2+ (minimum is v3 for install from this website due to TLS 1.2 requirement)
.NET Framework 4.8(the installation will attempt to install.NET 4.8if you do not have it installed)
Installing Chocolatey#
You can start the command prompt by typing
cmdin the search (usually looks like the magnifying glass), You will find the Command Prompt App. Note that you need have to run it in admin mode since you are installing a new software. Or use a combination of keys from the keyboard (Win + R), then type cmd in the Run dialog, to start cmd in Admin mode, you need to useCtrl + Shift + enterkeys.You can open PowerShell the same way.
Here is the link to install
chocousing CMD: Install with cmdOr you can install that from the PowerShell from this Install with PowerShell
Installing wget or curl#
You can install
wgetorcurlutilities to download softwares or package from the Internet. Using these tools facilitates the downloading process, however, you do not need to use them if don’t want to.You can download
wgetfrom the official website and then run the installer, and follow the installation instruction. Wait, we just downloaded a Windows package manager, this will make your life a lot easier, and now it the time to discover a world of fun using the command prompt, I am quite sure you will fall in love with using the command prompt.To install
wgetusingchocosimply run the following command (You must start CMD or PowerShell in admin mode)
choco install wget
This will prompt you to type
yto confirm the installation, if you trust the package, you can even suppress the confirmation prompt by adding-yflag like this:
choco install wget -y
Voila, that is it,
wgetinstalled on your system and it is ready to for use. I told you, the using the command prompt will make your life easier.