live server port change code example Example 1: live-server command live-server public --port=8090 Example 2: npm live server npm install -g live-server