systemg 0.61.2

An agent-friendly general process composer.
Documentation
---
title: Quickstart
---

# Quickstart

Get systemg running in 60 seconds.

## Install

```bash
$ curl --proto '=https' --tlsv1.2 -fsSL https://sh.sysg.dev/ | sh
```

## Create a configuration

```yaml
version: "2"
services:
  hello:
    command: "python -m http.server 8080"
```

Save as `systemg.yaml`.

## Start your service

```bash
$ sysg start --daemonize
```

Your web server is now running at http://localhost:8080.

## Check status

```bash
$ sysg status
```

`status` opens the project-aware unit table. Use `--format json` for scripts.

## View logs

```bash
$ sysg logs --service hello
```

## Stop the project

```bash
$ sysg stop
```

This stops the project while leaving the resident supervisor ready for another
start. Use `sysg stop --supervisor` to shut down the supervisor itself.

## What's next

- [Configure multiple services](how-it-works/configuration) with dependencies
- [Run services in the background](how-it-works/commands/start#daemon-mode) with `--daemonize`
- [Set up automatic restarts](how-it-works/configuration#restart_policy) for production