 27.29 10.6l37.1-37.1c59.28-59.26 59.28-155.7 0-214.96z"/>
      </svg></a> </h3>
<section aria-labelledby="toc_defining-services">
<p>Services can be generated using Ember CLI's <code>service</code> generator. For example,
the following command will create the <code>ShoppingCart</code> service:</p>
<pre class="language-bash line-numbers"><code class="bash language-bash">ember generate <span class="token function">service</span> shopping-cart
<span aria-hidden="true" class="line-numbers-rows"><a href="#C1_L