-
Notifications
You must be signed in to change notification settings - Fork 0
Installation Guide
Altug Tatlisu edited this page Oct 25, 2025
·
1 revision
This guide will help you install Hermes on your system.
- Rust: 1.70 or higher
- Cargo: Comes with Rust
- Git: For cloning the repository
- SFTP Server: For remote file storage (optional)
Linux/macOS:
curl --proto '=https' --tlsv1.2 -sSf https://sh.rustup.org | sh
source $HOME/.cargo/envWindows: Download and run [rustup-init.exe](https://rustup.rs/)
git clone https://github.com/ChronoCoders/hermes.git
cd hermes# Debug build (faster compilation)
cargo build
# Release build (optimized)
cargo build --releaseThe binary will be in:
- Debug:
target/debug/hermes - Release:
target/release/hermes
cargo install --path .This installs hermes to ~/.cargo/bin/
Visit [Releases](https://github.com/ChronoCoders/hermes/releases) and download for your platform:
-
Windows:
hermes-v1.0.0-windows-x64.zip -
Linux:
hermes-v1.0.0-linux-x64.tar.gz -
macOS:
hermes-v1.0.0-macos-x64.tar.gz
Windows:
unzip hermes-v1.0.0-windows-x64.zip
move hermes.exe C:\Windows\System32\Linux/macOS:
tar -xzf hermes-v1.0.0-linux-x64.tar.gz
sudo mv hermes /usr/local/bin/
sudo chmod +x /usr/local/bin/hermescargo install hermes-securehermes --versionExpected output:
hermes 1.0.0
hermes initThis creates:
-
Linux/macOS:
~/.config/hermes/config.toml -
Windows:
C:\Users\<user>\.config\hermes\config.toml
Edit the config file:
[sftp]
host = "your-sftp-server.com"
port = 22
username = "your-username"
key_file = "/path/to/ssh/key" # Optional, uses password if not set
[paths]
inbox = "/secure/inbox"
outbox = "/secure/outbox"
files = "/secure/files"hermes configPowerShell Execution Policy:
Set-ExecutionPolicy -ExecutionPolicy RemoteSigned -Scope CurrentUserAdd to PATH:
setx PATH "%PATH%;C:\path\to\hermes"Dependencies:
# Ubuntu/Debian
sudo apt-get install build-essential libssl-dev pkg-config
# Fedora
sudo dnf install gcc openssl-devel
# Arch
sudo pacman -S base-devel opensslXcode Command Line Tools:
xcode-select --installHomebrew (optional):
brew install opensslcd hermes
git pull origin main
cargo build --release
cargo install --path .Download and replace the latest version.
Linux/macOS:
sudo rm /usr/local/bin/hermesWindows:
del C:\Windows\System32\hermes.exe# Linux/macOS
rm -rf ~/.config/hermes
rm -rf ~/.hermes
# Windows
rmdir /s %USERPROFILE%\.config\hermes
rmdir /s %USERPROFILE%\.hermesOpenSSL not found:
# Set environment variable
export OPENSSL_DIR=/usr/local/opt/opensslLinking errors:
cargo clean
cargo build --releasePermission denied:
chmod +x hermesConfig not found:
hermes init- 📖 [Quick Start Tutorial](Quick-Start)
- ⚙️ [Configuration Guide](Configuration)
- 🔐 [Password Encryption](Password-Encryption)
[← Back to Home](Home) | [Next: Quick Start →](Quick-Start)