// tag::deb[]

The DEB package includes a service unit for Linux systems with systemd. On these
systems, you can manage {agent} by using the usual systemd commands.

// tag::start-command[]
Use `systemctl` to start the agent:

[source,shell]
----
sudo systemctl start elastic-agent
----

Otherwise, use:

[source,shell]
----
sudo service elastic-agent start
----
// end::start-command[]

// end::deb[]

// tag::rpm[]
The RPM package includes a service unit for Linux systems with systemd. On these
systems, you can manage {agent} by using the usual systemd commands.

include::start.asciidoc[tag=start-command]

// end::rpm[]

// tag::mac[]

[source,shell]
----
sudo launchctl load /Library/LaunchDaemons/co.elastic.elastic-agent.plist
----

// end::mac[]

// tag::linux[]

[source,shell]
----
sudo service elastic-agent start
----

// end::linux[]

// tag::win[]

[source,shell]
----
Start-Service elastic-agent
----

// end::win[]
