How to Install Scoop in Microsoft Windows
This is an article where the content of it will focus to a specific subject. It is about how to install scoop tool in a host or a device either local or remote. For more information, that host or device is running using Microsoft Windows as its operating system. So, this article will simply show how steps for installing Scoop in a device running using Microsoft Windows as its operating system. As for Scoop tool, description about itself is simply just A command-line installer for Windows according in this link. It is very useful for installing another tool such as Snyk, PostgREST, etc.
Table of Contents
Introduction
So, for the installation of Scoop, actually there are specific steps which are important as a considerations. As the focus of the article is about the Snyk installation, before going on further to that, it actually need several requirements. Those requirements is a necessary part for installing scoop further. The following are several steps for the preparation of installing snyk. In other words, before the process for describing on how to install scoop in Microsoft Windows, below are the steps :
-
First of all, there is a Power Shell tool available which is important for the process in the host or local device running Microsoft Windows. Just run the Power Shell tool by executing it. As an alternative for executing it, type Windows Shortcut+R for showing a text field where it will be the location for typing the ‘powershell’ command so that the Power Shell tool will appear.
-
When the Power Shell tool appear, type a certain command with an additional parameter for setting up the Power Shell environment. It is a command for setting the permission for installing scoop. The following command is a command for setting the permission to install ‘scoop’ :
PS C:\Users\Personal> Set-ExecutionPolicy RemoteSigned -Scope CurrentUser Execution Policy Change The execution policy helps protect you from scripts that you do not trust. Changing the execution policy might expose you to the security risks described in the about_Execution_Policies help topic at https:/go.microsoft.com/fwlink/?LinkID=135170. Do you want to change the execution policy? [Y] Yes [A] Yes to All [N] No [L] No to All [S] Suspend [?] Help (default is "N"):
For the above process, just type ‘Y’ in order to allow executing a certain command in order to install ‘scoop’.
[Y] Yes [A] Yes to All [N] No [L] No to All [S] Suspend [?] Help (default is "N"): Y PS C:\Users\Personal>
Install Scoop in Microsoft Windows
Continue on from the previous part which is the introduction for the preparation, below is the actual Scoop tool installation. Just execute the followings steps :
-
As for the first step, just make sure the Power Shell is available and running. It can be the Power Shell from the introduction part. If it is not running anymore, just run it once more. After it is running again once more, make sure it already have the environment permission for executing the command for installation. Just check the command in the previous part. It is a command where it will permit the execution of a command which is signed remotely for the current user. The command is ‘Set-ExecutionPolicy RemoteSigned -Scope CurrentUser;.
-
Finally, in the Power Shell commmand line, type the following command to install Scoop tool :
PS C:\Users\Personal> iwr -useb get.scoop.sh | iex Initializing... Downloading... Extracting... Creating shim... Adding ~\scoop\shims to your path. Scoop was installed successfully! Type 'scoop help' for instructions. PS C:\Users\Personal>
Test Scoop in Microsoft Windows
So, in this part, ffter successfully installing scoop, just try and test it. The test can be in either Power Shell command line or just in a normal standard Command Prompt as follows :
Microsoft Windows [Version 10.0.22621.1265] (c) Microsoft Corporation. All rights reserved. C:\Users\Personal>scoop Usage: scoop <command> [<args>] Available commands are listed below. Type 'scoop help <command>' to get more help for a specific command. Command Summary ------- ------- alias Manage scoop aliases bucket Manage Scoop buckets cache Show or clear the download cache cat Show content of specified manifest. checkup Check for potential problems cleanup Cleanup apps by removing old versions config Get or set configuration values create Create a custom app manifest depends List dependencies for an app, in the order they'll be installed download Download apps in the cache folder and verify hashes export Exports installed apps, buckets (and optionally configs) in JSON format help Show help for a command hold Hold an app to disable updates home Opens the app homepage import Imports apps, buckets and configs from a Scoopfile in JSON format info Display information about an app install Install apps list List installed apps prefix Returns the path to the specified app reset Reset an app to resolve conflicts search Search available apps shim Manipulate Scoop shims status Show status and check for new app versions unhold Unhold an app to enable updates uninstall Uninstall an app update Update apps, or Scoop itself virustotal Look for app's hash or url on virustotal.com which Locate a shim/executable (similar to 'which' on Linux) C:\Users\Personal>
As in the above output command from running the ‘Scoop’, it is obvious that the ‘Scoop’ tool is already exist and running properly.