Skip to content

Windows

Southclaws edited this page Dec 29, 2017 · 25 revisions

Installing with Scoop

Installing sampctl on Windows is a simple task. I use the beautifully simple scoop.sh app manager (it's like apt-get for Windows).

Installing scoop is a one-liner, just paste this into a PowerShell:

iex (new-object net.webclient).downloadstring('https://get.scoop.sh')

If you run into issues, make sure you read the Scoop Quick-Start Documentation.

And installing sampctl is another one-liner:

scoop bucket add southclaws https://github.com/Southclaws/scoops.git; scoop install sampctl

if you're extra lazy you can concatenate those two lines into one, separated by a ;!

You can then run sampctl from PowerShell, CMD, git-bash, etc. but you will need to restart any open terminals if you installed scoop for the first time so it is loaded into the PATH environment variable properly.

Installing Manually

If for some reason you can't use Scoop, you can install sampctl by hand.

  1. Create a directory on your C:\ drive root named sampctl
  2. A Download a Windows release of sampctl and place the .exe file into the sampctl directory you created
  3. Add C:\sampctl\ to your system PATH (Dead easy, use Google if you're not sure how)
  4. Open a new shell (PowerShell, Cmd or Bash) and type sampctl - if you did the above correctly, you'll see the sampctl help text

Updating

Simply update your scoop metadata then upgrade the sampctl app itself:

scoop update
scoop update sampctl

More information in the Scoop documentation.

Clone this wiki locally