How do I open a file with Chrome from the command line? March 1, 2023 by Tarik Just type in the program name followed by the file: google-chrome {file-path} ex: google-chrome ~/index.html