Graphical Service Manager for Linux and macOS
View, search, and control system services right in your terminal.
Get started
Install
Homebrew formula
# Download the formula from the latest release $ curl -LO https://github.com/shakg/g-systemctl/releases/latest/download/g-systemctl.rb $ brew install ./g-systemctl.rb g-systemctl installed
Debian package
$ curl -LO https://github.com/shakg/g-systemctl/releases/latest/download/g-systemctl-linux-amd64.deb $ sudo apt install ./g-systemctl-linux-amd64.deb g-systemctl installed
Release tarball
$ curl -LO https://github.com/shakg/g-systemctl/releases/latest/download/g-systemctl-linux-x86_64.tar.gz $ tar -xzf g-systemctl-linux-x86_64.tar.gz $ sudo install -m 755 g-systemctl-*/g-systemctl /usr/local/bin/g-systemctl Installed to /usr/local/bin/g-systemctl
Linux
Clone & build
# Prerequisites: CMake 3.14+, GCC 7+ or Clang 5+ $ git clone https://github.com/shakg/g-systemctl.git $ cd g-systemctl $ mkdir build && cd build $ cmake -DCMAKE_BUILD_TYPE=Release .. $ make -j$(nproc) $ sudo make install Installed to /usr/local/bin/g-systemctl
macOS
Clone & build
# Prerequisites: Xcode CLT, CMake 3.14+ $ git clone https://github.com/shakg/g-systemctl.git $ cd g-systemctl $ mkdir build && cd build $ cmake -DCMAKE_BUILD_TYPE=Release .. $ make $ sudo make install Installed to /usr/local/bin/g-systemctl
Release checksums
$ curl -LO https://github.com/shakg/g-systemctl/releases/latest/download/SHA256SUMS.txt $ grep g-systemctl-linux-x86_64.tar.gz SHA256SUMS.txt | shasum -a 256 -c -
Basic usage
$ g-systemctl $ g-systemctl -f nginx # Target system services explicitly $ g-systemctl --system -f postgres
Open source
Built in the open
g-systemctl is MIT licensed and welcomes contributions. Bug reports, feature ideas, and pull requests are all appreciated.
Star on GitHub