3 This is the same as the [Docker installation](administration_install_docker.md), except that Ansible handles all of it automatically. It also does some extra things like setting up TLS and email for your Lemmy instance.
5 First, you need to [install Ansible on your local computer](https://docs.ansible.com/ansible/latest/installation_guide/intro_installation.html) (e.g. using `sudo apt install ansible`) or the equivalent for you platform.
7 Then run the following commands on your local computer:
10 git clone https://github.com/LemmyNet/lemmy.git
12 cp inventory.example inventory
13 nano inventory # enter your server, domain, contact email
14 ansible-playbook lemmy.yml --become
17 To update to a new version, just run the following in your local Lemmy repo:
19 git pull origin master
21 ansible-playbook lemmy.yml --become