Update Readme: Set home in sudo pip install
authorOskar Cieslik <oskarcieslik@gmail.com>
Sun, 1 Jan 2017 23:22:10 +0000 (00:22 +0100)
committerGitHub <noreply@github.com>
Sun, 1 Jan 2017 23:22:10 +0000 (00:22 +0100)
Hi, it's not always a default behaviour, but when you use `sudo pip` you most likely may want to use `-H` flag to set HOME value to directory of the target user :)

README.md

index bd01e2a102cfb103b8941856c0d31ab34978f53b..46aa78f66ceb8150bbb01afad3f6c8af2e053845 100644 (file)
--- a/README.md
+++ b/README.md
@@ -29,7 +29,7 @@ Windows users can [download an .exe file](https://yt-dl.org/latest/youtube-dl.ex
 
 You can also use pip:
 
-    sudo pip install --upgrade youtube-dl
+    sudo -H pip install --upgrade youtube-dl
     
 This command will update youtube-dl if you have already installed it. See the [pypi page](https://pypi.python.org/pypi/youtube_dl) for more information.