Installing sloctl
Select your operating system and installation method.
Once installed, continue to Configuring sloctl.
- macOS
- Windows
- Linux
- Homebrew (recommended)
- Script
- Prebuilt binary
- Go
- Docker
-
Run the following commands:
brew tap nobl9/sloctlbrew trust nobl9/sloctlbrew install sloctl💡Homebrew tap trustHomebrew 6.0.0 and later require explicit trust for non-official taps before installation.
If Homebrew reports
Warning: Skipping nobl9/sloctl because it is not trusted. Run brew trust nobl9/sloctl to trust it., runbrew trust nobl9/sloctland try again.💡Unsupported macOS versionIf Homebrew reports
Error: unknown or unsupported macOS version: :dunno, runbrew update-resetand try again. -
Verify the installation:
sloctl version
The installation script requires Bash and a minimal set of GNU utilities.
Run the script with curl:
curl -fsSL https://raw.githubusercontent.com/nobl9/sloctl/main/install.bash | bash
If curl is not available, use wget:
wget -O - -q https://raw.githubusercontent.com/nobl9/sloctl/main/install.bash | bash
To inspect the script before you run it, download it first:
curl -fsSL -o install.bash https://raw.githubusercontent.com/nobl9/sloctl/main/install.bash
chmod 700 install.bash
./install.bash --help
After inspection, run the downloaded script:
./install.bash
Verify the installation:
sloctl version
-
Download the appropriate prebuilt binary from the latest sloctl release.
Choose
darwinfor macOS, witharm64for Apple Silicon oramd64for Intel processors. -
Place the binary in your system path and rename it
sloctl. -
Grant executable permission to the binary:
sudo mkdir -p /usr/local/binsudo cp ~/Downloads/sloctl /usr/local/bin/sudo chmod a+rx /usr/local/bin/sloctlopen /usr/local/bin -
If macOS blocks the binary, right-click
sloctlin Finder and select Open. -
Verify the installation:
sloctl version
-
Install the latest version of
sloctl:go install github.com/nobl9/sloctl/cmd/sloctl@latest -
Confirm that the
bindirectory underGOPATHis in your system path. -
If necessary, add the directory for the current shell session:
export PATH="$PATH:$(go env GOPATH)/bin" -
Verify the installation:
sloctl version
The official sloctl image is available on Docker Hub.
-
Pull the latest image:
docker pull nobl9/sloctl -
Verify the image:
docker run --rm nobl9/sloctl version
To authenticate with environment variables, see Configuring sloctl.
- Prebuilt binary (recommended)
- Script (MinGW/Cygwin)
- Go
- Docker
-
Download the appropriate prebuilt binary from the latest sloctl release.
Choose
windows, witharm64for ARM64 processors oramd64for Intel/AMD 64-bit processors. -
Create a
Nobl9directory in one of these locations:- For an administrator installation, use
C:\Program Files\. - For a non-administrator installation, use your user directory.
- For an administrator installation, use
-
Rename the binary to
sloctl.exe. -
Move
sloctl.exeto theNobl9directory. -
For a non-administrator installation, add the directory to the user
Pathenvironment variable:- Go to Control Panel > System and Security > System.
- Select Advanced System Settings > Environment Variables.
- Under User variables, select Path, then select Edit.
- Add the directory that contains
sloctl.exe, then save your changes.
-
Verify the installation:
sloctl version
The installation script requires Bash and a minimal set of GNU utilities. On Windows, run it with MinGW or Cygwin.
Run the script with curl:
curl -fsSL https://raw.githubusercontent.com/nobl9/sloctl/main/install.bash | bash
If curl is not available, use wget:
wget -O - -q https://raw.githubusercontent.com/nobl9/sloctl/main/install.bash | bash
To inspect the script before you run it, download it first:
curl -fsSL -o install.bash https://raw.githubusercontent.com/nobl9/sloctl/main/install.bash
chmod 700 install.bash
./install.bash --help
After inspection, run the downloaded script:
./install.bash
Verify the installation:
sloctl version
-
Install the latest version of
sloctl:go install github.com/nobl9/sloctl/cmd/sloctl@latest -
Confirm that the
bindirectory underGOPATHis in your system path. -
If necessary, add the directory for the current shell session:
$env:Path += ";$(go env GOPATH)\bin" -
Verify the installation:
sloctl version
The official sloctl image is available on Docker Hub.
-
Pull the latest image:
docker pull nobl9/sloctl -
Verify the image:
docker run --rm nobl9/sloctl version
To authenticate with environment variables, see Configuring sloctl.
- Script (recommended)
- Prebuilt binary
- Go
- Docker
The installation script requires Bash and a minimal set of GNU utilities.
Run the script with curl:
curl -fsSL https://raw.githubusercontent.com/nobl9/sloctl/main/install.bash | bash
If curl is not available, use wget:
wget -O - -q https://raw.githubusercontent.com/nobl9/sloctl/main/install.bash | bash
To inspect the script before you run it, download it first:
curl -fsSL -o install.bash https://raw.githubusercontent.com/nobl9/sloctl/main/install.bash
chmod 700 install.bash
./install.bash --help
After inspection, run the downloaded script:
./install.bash
Verify the installation:
sloctl version
-
Download the appropriate prebuilt binary from the latest sloctl release.
Choose
linux, witharm64for ARM64 processors oramd64for Intel/AMD 64-bit processors. -
Rename the binary to
sloctl. -
Grant executable permission and move the binary to a directory in your system path:
chmod +x sloctlsudo mv sloctl /usr/local/bin/sloctl -
Verify the installation:
sloctl version
-
Install the latest version of
sloctl:go install github.com/nobl9/sloctl/cmd/sloctl@latest -
Confirm that the
bindirectory underGOPATHis in your system path. -
If necessary, add the directory for the current shell session:
export PATH="$PATH:$(go env GOPATH)/bin" -
Verify the installation:
sloctl version
The official sloctl image is available on Docker Hub.
-
Pull the latest image:
docker pull nobl9/sloctl -
Verify the image:
docker run --rm nobl9/sloctl version
To authenticate with environment variables, see Configuring sloctl.