From: DanielHabenicht Date: Thu, 27 Apr 2023 04:27:10 +0000 (+0200) Subject: Add -y flag for easier installation (#1024) X-Git-Url: http://git.prime8.dev/?a=commitdiff_plain;h=e12f32167fea3faf8870d5cf38e0afc4ff0f1d42;p=ttyd.git Add -y flag for easier installation (#1024) * Add -y flag for easier installation * Add update command before installing * Update README.md --------- Co-authored-by: Shuanglei Tao --- diff --git a/README.md b/README.md index 04af819..1dcd6cb 100644 --- a/README.md +++ b/README.md @@ -37,7 +37,8 @@ ttyd is a simple command-line tool for sharing terminal over the web. - Install the snap: `sudo snap install ttyd --classic` - Build from source (debian/ubuntu): ```bash - sudo apt-get install build-essential cmake git libjson-c-dev libwebsockets-dev + sudo apt-get update + sudo apt-get install -y build-essential cmake git libjson-c-dev libwebsockets-dev git clone https://github.com/tsl0922/ttyd.git cd ttyd && mkdir build && cd build cmake ..