Home>Article>Development Tools> How to start mac sublime from command line

How to start mac sublime from command line

藏色散人
藏色散人 forward
2021-02-05 15:38:18 3649browse

The following tutorial column will introduce you to the mac sublime command line startup method. I hope it will be helpful to friends who need it!

mac sublime command line startupHow to start mac sublime from command line

Prerequisite mac has installed the Sublime text3 editor

sudo ln -s "/Applications/Sublime Text.app/Contents/SharedSupport/bin/subl" /usr/local/bin/subl
Then you can start sublime directly from the command line, for example:
subl .bash_profile subl .../error.log

The above is the detailed content of How to start mac sublime from command line. For more information, please follow other related articles on the PHP Chinese website!

Statement:
This article is reproduced at:segmentfault.com. If there is any infringement, please contact admin@php.cn delete