How to start Sublime Text from CLI on Mac

So, you'd like a terminal shortcut to open a file in Sublime Text? Easy! Open a terminal and run the following commands to set it up: sudo touch /usr/local/bin/subl sudo chown 0:0 /usr/local/bin/subl sudo chmod +x /usr/local/bin/subl echo '/Applications/Sublime\ Text.app/Contents/SharedSupport/bin/subl "$@"' | sudo tee /usr/local/bin/subl Cool! We're done! Now, to [...]

By |2022-01-14T19:39:28+01:00January 14th, 2022|Guide, Tech Support|0 Comments
Go to Top