* Add -y flag for easier installation
* Add update command before installing
* Update README.md
---------
Co-authored-by: Shuanglei Tao <tsl0922@gmail.com>
- 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 ..