From d7234029e672496b9b01d7c19a8396359e8a3f5e Mon Sep 17 00:00:00 2001 From: Anmol Sethi Date: Thu, 14 May 2020 20:27:36 -0400 Subject: [PATCH] Use /usr/local instead of /opt in self contained release example --- README.md | 5 +++-- 1 file changed, 3 insertions(+), 2 deletions(-) diff --git a/README.md b/README.md index 02866778..135258e0 100644 --- a/README.md +++ b/README.md @@ -79,8 +79,9 @@ Add the code-server `bin` directory to your `$PATH` to easily execute it without Here is an example script for installing and using a self-contained code-server release on Linux: ```bash -curl -sSL https://github.com/cdr/code-server/releases/download/3.3.0/code-server-3.3.0-linux-amd64.tar.gz | sudo tar -C /opt -xz -PATH="$PATH:/opt/code-server-3.3.0-linux-amd64/bin" +curl -sSL https://github.com/cdr/code-server/releases/download/3.3.0/code-server-3.3.0-linux-amd64.tar.gz | sudo tar -C /usr/local -xz +sudo mv /usr/local/code-server-3.3.0-linux-amd64 /usr/local/code-server +PATH="$PATH:/usr/local/code-server/bin" code-server ```