macOS
On macOS, Stash can be run as either a packaged app (Stash.app
) or as a command-line app (stash-macos
). Both are universal apps, and will therefore run natively on both Apple silicon and Intel-based Macs.
Packaged app¶
Note
The packaged app is recommended for most users.
It supports desktop notifications, displays a menu bar icon, and does not need to be launched from the terminal.
However, due to app restrictions, it only supports setting up in $HOME/.stash
. If you would like to use a different folder, then you will need to use the command-line app.
Install¶
- Download the latest
Stash.app.zip
from GitHub repository. - Open
Stash.app.zip
archive and drag theStash
app to your Applications folder. - Open the
Stash
app. - If everything went well, it should open a browser tab http://localhost:9999 to get started.
Update¶
- Stop Stash server. Either via icon in the menu bar or by stopping the process from Activity Monitor.
- Download latest
Stash.app.zip
from GitHub repository. - Delete old
Stash
app. - Open newly downloaded
Stash.app.zip
archive and drag theStash
app to your Applications folder. - Open the
Stash
app. - If everything went well, it should open a browser tab http://localhost:9999 to get started.
- You might be asked to perform a database migration depending on the changes included in the new release. Follow the steps.
- Automatic backup will be performed before the migration.
- If any issues arise during the migration your database will be automatically restored from the backup.
- You should be good to go.
Remove¶
- Stop Stash server.
- Delete
Stash
app. - Delete
$HOME/.stash
.
Command-line app¶
Note
The command-line app is only recommended for users who are familiar with the terminal, or for those who do not want to set up in $HOME/.stash
.
It does not support desktop notifications and does not display a menu bar icon. It must be launched from the terminal.
Install¶
- Download latest
stash-macos
binary from GitHub repository. -
Run
./stash-macos
from the terminal.If you have trouble, try running
chmod u+x stash-macos
to make the file executable. -
If everything went well, it should open a browser tab http://localhost:9999 to get started.
Update¶
- Stop Stash server. Either by closing the terminal window or by stopping the process from Activity Monitor.
- Download latest
stash-macos
binary from GitHub repository. - Delete old
stash-macos
binary and replace it with the newly downloaded one. -
Run
./stash-macos
from the terminal.If you have trouble, try running
chmod u+x stash-macos
to make the file executable. -
If everything went well, it should open a browser tab http://localhost:9999 to get started.
- You might be asked to perform a database migration depending on the changes included in the new release. Follow the steps.
- Automatic backup will be performed before the migration.
- If any issues arise during the migration your database will be automatically restored from the backup.
- You should be good to go.
Remove¶
- Stop Stash server.
- Delete
stash-macos
. - Delete
$HOME/.stash
.