Sublime Forum

Install package manually

#1

Hi,

I am using ST 2 about two weeks.
Trying to understand how to install packages.

Using package manager is easy but how to do it manually when you want to install some package from Github ?
github.com/purplefish32/sublime … -wordpress

Download + unzip in packages folder + restart sublime + ?
Is that all ?

0 Likes

VPN blockage
How would I get started developing a fork of the LSP plugin?
#2

Yep! Depending on the package, you may want to put it in your User folder.

1 Like

#3

Even better, you can add any github/bitbucket repo to package control, even if it’s not in the official “package control channel” by using “Package Control: Add repository.” wbond.net/sublime_packages/package_control/usage

3 Likes

#4

Yes that is the best method nick.

0 Likes

#5

I’m trying to install this packge: https://github.com/titoBouzout/BufferScroll

I’ve added the repository. How do I install it now? Doing “Install package” doesn’t find BufferScroll…

0 Likes

#6

To install the package manually, do this in a terminal:

$ cd $APPDATA/Sublime Text 3/Packages                         # windows, not entirely sure if I have this correct
$ cd ~/Library/Application\ Support/Sublime\ Text\ 3/Packages # mac
$ cd ~/.config/sublime-text-3/Packages                        # linux
$ git clone https://github.com/titoBouzout/BufferScroll.git

You can update the package by doing

$ git pull

If you’re on Windows, you’re going to need a git client like “Git for Windows”.

0 Likes

#7

I understand that I can install the package that way, but I’d like use package control…

Either way, thx.

0 Likes

#8

Well, if it’s in the packages directory, then it is “installed”. There is no install process. Sublime just scans the Packages directory and loads anything it finds at directory depth level 1 (so not recursively). So you should be good to go.

0 Likes

#9

Adding the repository to PackageControl should show the package in the list of installable packages for you to install.

In this case, if you check the console there’s an error that looks like perhaps there’s something broken somewhere:

Package Control: Error downloading repository. HTTP error 404 downloading https://api.github.com/repos/titoBouzout/BufferScroll/commits?sha=master&per_page=1.

I don’t know if that’s an issue with GitHub or packageControl, though.

1 Like

#10

The problem with the BuffetScroll repo is that it doesn’t have a master branch. You need to add the URL with /tree/st3 appended as repository to PC.

4 Likes

#11

https://github.com/wbond/package_control/issues/1192

Thanks.

2 Likes

#12

Hello. I recognise this question may be redundant in someway, but Im wondering if sublime checks repositories for updates on load?

is there a way to recheck repository packages for updates without closing the application?

regards,

Christopher

0 Likes

#13

You can select Package Control: Upgrade Package from the Command Palette; that will force it to check and see if there are any packages installed that can be updated; if so you can select them from the list to install them.

1 Like

#14

thank you :heart_eyes:

0 Likes