Ask Your Question
2

What is the procedure to launch sublime text using the hyper terminal?

asked 2021-05-12 11:00:00 +0000

pufferfish gravatar image

edit retag flag offensive close merge delete

1 Answer

Sort by ยป oldest newest most voted
1

answered 2021-10-17 14:00:00 +0000

qstack gravatar image
  1. Open the Hyper terminal on your computer.
  2. Navigate to the directory where Sublime Text is installed. For example, if you have installed Sublime Text in the Applications folder, you can navigate to it by typing cd /Applications/Sublime\ Text.app/Contents/SharedSupport/bin/ in the terminal and pressing enter.
  3. Once you are in the bin folder, type subl and press enter. This will launch Sublime Text.

Alternatively, you can add Sublime Text to your PATH environment variable so that you can launch it from anywhere in the terminal. To do this, follow these steps:

  1. Open your terminal and type nano ~/.bash_profile and press enter.
  2. This will open the .bash_profile file in the nano text editor. Scroll down to the end of the file and add the following line: export PATH="/Applications/Sublime Text.app/Contents/SharedSupport/bin/:$PATH"
  3. Save the file by pressing Ctrl + X, then Y, then Enter.
  4. Close and reopen the terminal for the changes to take effect.
  5. To launch Sublime Text from anywhere in the terminal, simply type subl and press enter.
edit flag offensive delete link more

Your Answer

Please start posting anonymously - your entry will be published after you log in or create a new account. This space is reserved only for answers. If you would like to engage in a discussion, please instead post a comment under the question or an answer that you would like to discuss

Add Answer


Question Tools

Stats

Asked: 2021-05-12 11:00:00 +0000

Seen: 19 times

Last updated: Oct 17 '21