Linux & Mac Installation
-
Install Golang: https://go.dev/doc/install
-
Install Binary
go install github.com/BrainStation-23/SentinelGo/cmd/sentinel@latest
-
Export Path
export PATH=$PATH:$HOME/go/bin
-
Install Service
sudo sentinel install
-
Login
sudo sentinel login
-
Check Status
- Linux
systemctl status sentinelgo
- Mac
sudo launchctl list | grep sentinelgo
- Linux
-
Uninstall & Remove
sudo sentinel service stop sudo sentinel service uninstall # Remove Data and Binary rm $(which sentinel) rm sentinel.db
Windows (PowerShell) Installation
-
Install Golang: https://go.dev/doc/install
-
Install GCC: https://sourceforge.net/projects/mingw/
Run PowerShell as Administrator.
-
Enable cgo
set CGO_ENABLED=1
-
Install Binary
go install github.com/BrainStation-23/SentinelGo/cmd/sentinel@latest
-
Register & Login
# Ensure %USERPROFILE%\go\bin is in your PATH. sentinel agent register sentinel agent login -
Install Service
# Ideally use full path or ensure it's in system PATH sentinel service install sentinel service start -
Check Status
Get-Service sentinelgo -
Uninstall & Remove
sentinel service stop sentinel service uninstall # Remove Data and Binary # Navigate to where sentinel.exe is located (e.g., %USERPROFILE%\go\bin) del sentinel.exe del sentinel.db