In part 2 of our series for installing appium….

we will show you how to use scoop, a package manager to install software

First things first:

So, you want to download and install an application and then set it’s path. Wait.. you want to check if it is installed on your system already? Scoop has got you covered. It could be an alternative to GitBash

Ex: I want to use the command whereis java on the GitBash terminal on Windows 11

and I get this message

It means you need to download install and set the path so that it is ready to use. Should you do this manually?

Nah!

Install Scoop:

Go to the scoop website

OR

Open a Windows non admin powershell and execute the following

Set-ExecutionPolicy -ExecutionPolicy RemoteSigned -Scope CurrentUser
Invoke-RestMethod -Uri https://get.scoop.sh | Invoke-Expression

Validate:

On the non admin power shell terminal, type the following commands:

Type scoop --version to check the installation

Install Java:

Once done, go ahead and add the java bucket

scoop bucket add java

scoop install java/corretto21-jdk

Then check the java installation

java -version

Conclusion:

Scoop has lots of things going for it. As we will see, it can be used to install nodejs from the command line, in later posts

Feedback:

What do you think of scoop? Please comment below

Leave a Reply

Discover more from Test Pulse

Subscribe now to keep reading and get access to the full archive.

Continue reading