Step 1: Install sloctl
Reading time: 0 minute(s) (0 words)
See how to install
sloctl
.Binary installation of sloctl
Use the following steps to download the Nobl9 CLI. The following are platform-specific instructions:
- MacOS
- Windows
- Linux
Method 1: Using
homebrew
- For macOS, we recommend using
homebrew
:
brew tap nobl9/sloctl
brew install sloctl
- Download the appropriate binary executable file from sloctl release pages.
- After the executable zip file downloads, you will need to place the file in the appropriate system path and rename it to
sloctl
. - The Mac operating system occasionally requires file permissions. When this happens, give the file executable permission.
- Move the binary file to your Downloads folder.
- Open Terminal and enter the following commands:
- The last
open
command above will navigate to thebin
folder in Finder. - Right-click
sloctl
in the Finder window and select Open.
sudo mkdir -p /usr/local/bin
sudo cp ~/Downloads/sloctl /usr/local/bin/
sudo chmod a+rx /usr/local/bin/sloctl
open /usr/local/bin
Open is not the default option when the security modal pops up. Selecting Open authorizes the sloctl
binary on your Mac.
The method of installation will vary slightly depending on your system role:
- Download the appropriate executable binary file from the sloctl releases page
- Depending on your system role:
- If you're Admin: Create the directory
C:\Program Files\nobl9
. - If you're User: Create a
nobl9
folder in your user directory. - Rename the file to
sloctl.exe
. - Copy the
sloctl.exe
file from the folder you downloaded it to thenobl9
folder created in the first step.
.exe
directory to the System Path Variable.Follow the steps below to finish your installation:
- Navigate to Control Panel > System and Security > System and click Advanced system settings.
- Click the Advanced tab in the System Properties page, and click Environment Variables.
- Navigate to User variables for username section, and select Path
- Navigate to System Variables and select Path (If you only have access to the user variables, then make the update there.)
- Click Edit.
- Add the directory where you placed the file.
- Click OK.
- Download the appropriate binary executable file from sloctl release pages.
- Move the binary file to where the $PATH is pointing at, for example:
/usr/local/bin
. - Rename the binary file to
sloctl
- The Linux operating system occasionally requires file permissions. When this happens, give the file executable permission.
- Finally, type
sloctl
to run the program.
Great, now you can configure your sloctl and get it going!