How do I install plugins from github for Sublime Text 3? I am trying to install this. What I have done so far is installing displayfunctions.py
into Packages/Display-Functions/displayfunctions.py
(I created a new folder Display-Functions
in the Packages
folder to hold displayfuntions.py
). It still doesn't work. How can I fix this?
Go to SublimeText – Preferences – Package Control (MAC) or Preferences – Package Control (PC) Choose “Install Package” from the list of options. Find the name of the package you wish to install and select it.
Installing Plugins from GitHubStart by navigating to the plugin's page in GitHub, then click the Download ZIP button on the right. You can download plugins from GitHub in one click. Save it to your computer and login to your WordPress site. Go to Plugins > Add New and click the Upload Plugin button beside the heading.
From version 3.2 onwards, Sublime Text has git integration in the editor.
Quit Sublime
Go to folder Packages
:
%APPDATA%\Sublime Text 3\Packages
~/Library/Application\ Support/Sublime\ Text\ 3/Packages
~/.config/sublime-text-3/Packages/
Run: git clone https://github.com/BoundInCode/Display-Functions.git
Open Sublime and try to use.
In Sublime Text 3, if you already have Package Control, but the package isn't showing up in Install Packages
, for instance ChainOfCommand, you need to "Add the Repository" to add the package to Package Control, only then can you install it.
Here's a step-by-step process:
In a Web Browser, navigate to your plugin, copy the git url (should end with a .git
).
https://github.com/jisaacks/ChainOfCommand.git
In Sublime, Open Package Control
Select Package Control: Add Repository
At the bottom of the Sublime window, an input box will appear. Paste the URL. AND REMOVE THE .GIT EXTENSION; hit Enter.
Open Package Control again (like in step 2).
Select Package Control: Install Packages
Now you should be able to search for, and install the package that had previously been missing, ie ChainOfCommand.
Similar to above, go copy the URL (include .git this time).
In Sublime, go to Preferences > Browse Packages (This opens the Packages folder).
Right-click on an empty space of the folder > Git Clone
Because the URL is already on your clipboard, it should automatically appear in the URL of the Git Clone Window. Press OK and Voila, Installed.
If you love us? You can donate to us via Paypal or buy me a coffee so we can maintain and grow! Thank you!
Donate Us With