diff --git a/README.md b/README.md
index 26bace1d6dd7f4649bdd1c70579084e067445174..e19488608bba04581240bb4e062d733132779689 100644
--- a/README.md
+++ b/README.md
@@ -18,14 +18,11 @@ This procedure installs libraries in the folder `~/R_LIBS` of the current user.
 cd ~
 mkdir R_LIBS
 echo "R_LIBS='$(pwd)/R_LIBS'" > .Renviron
-Rscript -e "install_packages(c('roxygen2','httr','jsonlite','textutils','dplyr'), lib = 'R_LIBS')"
+Rscript -e "install_packages('devtools')"
 git clone https://gitlab.irstea.fr/in-wop/sgldatagrabber.git
 cp .Renviron sgldatagrabber/
 cd sgldatagrabber
-Rscript -e "roxygen2::roxygenise()"
-cd ..
-R CMD build sgldatagrabber
-Rscript -e "install.packages('SGLdataGrabber_0.1.1.tar.gz', lib = 'R_LIBS')"
+Rscript -e "roxygen2::roxygenise();devtools::install()"
 ```
 
 ## Run the script