sublime text terminal command code example

Example 1: connecting sublime to bash command line

ln -s "/Applications/Sublime Text.app/Contents/SharedSupport/bin/subl" ~/bin/subl

Example 2: sublime text linux

wget -qO - https://download.sublimetext.com/sublimehq-pub.gpg | sudo apt-key add -

Example 3: open sublime text using terminal

//create new folder using terminal or open any existing
npx create-react-app newapp
//newapp is new folder. now open it
cd newapp
//now run following code
sublime .
//your folder will open in visual studio code. for sublime enter follwing code
code .

Example 4: sublime text linux

sudo apt-get install apt-transport-https

Example 5: sublime text 3 terminal

// Sublime Text 3 - osx

ln -s /Applications/Sublime\ Text.app/Contents/SharedSupport/bin/subl /usr/local/bin/.