Snippets
Snippet is a reusable block of shell scripts that can be saved and then run on Hosts and Connections. Snippets are designed to automate repetitive tasks and reduce the chance of errors.
Package is a collection of related Snippets designed to simplify the navigation and search of relevant commands.
Common use cases for Snippets:
Execute a snippet in the terminal.
Run a snippet on multiple Hosts simultaneously.
Automatically execute a snippet when a connection starts.
Share Snippets and Packages with the team.
Adding Snippets

Choose Snippets in the main menu.
Click
New snippet
at the top.Label
field (Optionally) - provide a name for the snippet.Add a package
(Optionally) - select a package in which you want to place the snippet.In the
Script
field, enter a command(s) that should be executed.Click
➔
at the top right to hide the snippet's details.
Running Snippets in the Terminal
Execute a Snippet via Autocomplete

Ensure Autocomplete is enabled.
Start typing
the name of the Snippet.Press the
Arrow down
to select a Snippet.Press
Enter
to execute the snippet or Tab to paste it.
Execute a Snippet via Booster

In the Terminal, switch to the Snippets tab.
Select
the Snippet.Click
Paste
orRun
depending on what you want.
Running Snippets on several Hosts
One of the ways to do so is via Booster

In the Terminal, switch to the Snippets tab.
Right-click the snippet you want to run and click
Run in all tabs
.
Another way is using the Snippet Screen

Choose Snippets in the main menu.
Select
the Snippet.Choose the hosts and/or groups and click
Run
.
In the desktop app, a snippet can be executed in all active sessions.
Running Snippet on connection start

Select the host
where you want to run the snippet, or create a new one.Scroll down to the
Startup Command
option.Choose
the snippet you want to run automatically upon connection.Save
the host settings.
Now, whenever you connect to this host, the selected snippet will run automatically at the start of the session.
Organize snippets into packages
A snippet package is a named container for your snippets. You can create one and populate it with snippets on the Snippets screen. The snippet packages you create are displayed at the top of the Snippets screen.
Add a snippet package

Choose
Snippets
in the main menu.Click
New package
at the New Snippet dropdown.Provide a name for the snippet package and click
Save
.
Add snippets to a snippet package

To add a single snippet to a snippet package, specify the snippet package
in the snippet's properties.
To add several snippets in bulk, use drag and drop.
Remove snippets from a snippet package

To remove a snippet from a snippet package, click Edit
. Then, find where the snippet package is assigned and click Remove
.