Skip to content

Commit

Permalink
Add -y flag for easier installation (#1024)
Browse files Browse the repository at this point in the history
* Add -y flag for easier installation

* Add update command before installing

* Update README.md

---------

Co-authored-by: Shuanglei Tao <tsl0922@gmail.com>
  • Loading branch information
DanielHabenicht and tsl0922 committed Apr 27, 2023
1 parent 443388f commit e12f321
Showing 1 changed file with 2 additions and 1 deletion.
3 changes: 2 additions & 1 deletion README.md
Expand Up @@ -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 ..
Expand Down

0 comments on commit e12f321

Please sign in to comment.