mirror of
https://github.com/tmux-plugins/tpm.git
synced 2025-09-14 00:46:56 +00:00
Move all the docs to docs/
dir
This commit is contained in:
20
docs/installing_plugins_via_cmd_line.md
Normal file
20
docs/installing_plugins_via_cmd_line.md
Normal file
@ -0,0 +1,20 @@
|
||||
# Installing plugins via the command line only
|
||||
|
||||
### From inside tmux
|
||||
|
||||
When you have `tmux` running, plugins can be installed with the following command:
|
||||
|
||||
~/.tmux/plugins/tpm/scripts/install_plugins.sh
|
||||
|
||||
This is the equivalent of pressing `prefix + I`.
|
||||
|
||||
### From outside tmux
|
||||
|
||||
To install the plugins when `tmux` is not even started (for example in a provisioning script):
|
||||
|
||||
# start tmux and create a session but don't attach to it
|
||||
tmux new-session -d
|
||||
# install the plugins
|
||||
tmux run "~/.tmux/plugins/tpm/scripts/install_plugins.sh"
|
||||
# killing the session is not required
|
||||
tmux kill-session
|
Reference in New Issue
Block a user