diff --git a/docs/installation/index.rst b/docs/installation/index.rst
index 74e27190c874e486980535e4914b59145944eb5c..07da9b4ce11bf2c470e153972bceffe0f96395f6 100644
--- a/docs/installation/index.rst
+++ b/docs/installation/index.rst
@@ -105,8 +105,8 @@ Ensure you have a recent version of nginx on your server. On Debian-like system,
 
 .. code-block:: bash
 
-    apt-get update
-    apt-get install nginx
+    sudo apt-get update
+    sudo apt-get install nginx
 
 Then, download our sample virtualhost file and proxy conf:
 
@@ -132,7 +132,7 @@ Apache2
 Ensure you have a recent version of apache2 installed on your server.
 You'll also need the following dependencies::
 
-   apt install libapache2-mod-xsendfile
+   sudo apt-get install libapache2-mod-xsendfile
 
 Then, download our sample virtualhost file: