bookjnr.blogg.se

Install sublime for mac os x
Install sublime for mac os x




install sublime for mac os x install sublime for mac os x

The first step to have the command subl accessible is to install Sublime Text, obviously.If this is not already the case for you, then, follow this link, download and install it on your computer.Īt this point, you should be able to open Sublime Text without the terminal 😉 You can also add the option -n to open it in a new windows, or the option -h to display the help and have all the description of all the possibilities available to you. Once setup up, you can use command line like subl my_file_or_folder to open a file or a folder in Sublime Text. We'll configure Sublime more in the next few sections.Last week, I had to reinstall all the tools I use on a new computer, since the previous one passed away ☠Īnd since I use Sublime Text as a default text editor, (please, no debate over which text editor is the best in the comment 😝, I had to reinstall it and make it easily accessible through the terminal.įor those who don’t know, Sublime Text has a shortcut, a command line tool named subl, which allow you to use summon sublime text though your terminal. Now you can open a file with $ subl myfile.py or start a new project in the current directory with $ subl. Let's create a shortcut so we can launch Sublime Text from the command-line: $ ln -s /Applications/Sublime\ Text.app/Contents/SharedSupport/bin/subl /usr/local/bin/subl

install sublime for mac os x

If you can afford it, It is adviced that you support this awesome tool. Anyhow, we're going to be using it so much that even the seemingly expensive $60 price tag is worth every penny. Sublime Text is not free, but it has an unlimited "evaluation period". To do so, right-click on the running application and select Options > Keep in Dock. Note: At this point I'm going to create a shorcut on the OS X Dock for both for Sublime Text and iTerm. dmg file, drag-and-drop in the Applications folder, you know the drill now. Everyone has their preferences, but unless you're a hardcore Vim) user, a lot of people are going to tell you that Sublime Text is currently the best one out there. With the terminal, the text editor is a developer's most important tool.






Install sublime for mac os x