Just Use the command subl to open sublime text from terminal. if you want to open a specific file use subl path/to/the/file .
How do I open Sublime Text in Chrome?
Just open any HTML file or write and save a new file as HTML and press “CTRL+B” or go to “Tools” > “Build” and it will open the HTML file in Google Chrome.
How do I run HTML code in Sublime Text 3?
If you are using HTML and Chrome is your default browser, then just right-click the open file in Sublime Text and select “Open in Browser”. It also works for Javascript and CSS. Note that this functionality is provided by the SidebarEnhancements package.