tpm icon indicating copy to clipboard operation
tpm copied to clipboard

plugin "download failed"

Open isthisthat opened this issue 10 years ago • 6 comments

Hello, I'm getting the following when trying to install plugins:

Already installed "tpm"
Installing "tmux-sensible"
  "tmux-sensible" download fail
Installing "tmux-scroll-copy-mode"
  "tmux-scroll-copy-mode" download fail

TMUX environment reloaded.

Done, press ESCAPE to continue.

I've noticed that when trying to clone git repos via https that doesn't work on my system. I need to use git clone [email protected]:<repo> instead. Any advice here? Thank you!

isthisthat avatar Nov 19 '15 11:11 isthisthat

Hm, that's interesting. If https clone does not work, I suggest cloning plugins manually, instead of doing tpm install step with prefix + I.

Here are the steps:

  • check you have this in your tmux.conf:

    set -g @plugin 'tmux-plugins/tmux-sensible
    ....
    # last line in tmux.conf
    run '~/.tmux/plugins/tpm/tpm'
    
  • Instead of prefix + I, manually clone the plugin to the right dir. The path for <plugin-name> is: ~/.tmux/plugins/<plugin-name>. For example, for tmux-sensible you'd do:

    $ git clone [email protected]:tmux-plugins/tmux-sensible.git ~/.tmux/plugins/tmux-sensible
    
  • Then source tmux.conf with:

    $ tmux source-file ~/.tmux.conf
    
  • And the plugin should now work.

Let me know if this helps. Also, why doesn't git https clone work for you?

bruno- avatar Nov 19 '15 13:11 bruno-

Yup that was what I ended up doing. I think https doesn't work because of firewalls and things... Thanks for your reply.

isthisthat avatar Nov 19 '15 15:11 isthisthat

My error was because the plugins folder was not writable, using sudo fixed it.

olafur-palsson avatar Sep 04 '18 18:09 olafur-palsson

I'm having this issue still, with tmux 3.1c and TPM commit b699a7e01c253ffb7818b02d62bce24190ec1019

My plugins folder is writable as well.

GregHilston avatar Jan 19 '22 23:01 GregHilston

Try to add your http_proxy and https_proxy into /etc/environment and reboot to try again, this method works to me.

saqwed avatar Oct 04 '22 01:10 saqwed

I deleted all plugins except tpm in ~/.tmux/plugins and did prefix + I again. This re-fetched the plugins again.

subtleseeker avatar May 04 '24 17:05 subtleseeker