Installation¶
Choose the option that best fits your environment.
Release archive (recommended)¶
Download the matching archive from GitHub Releases
and extract it. The archive contains a subcon/ directory with the binary,
conf/, and schema/.
Replace the archive name with the release version and target you downloaded.
Debian package (Linux)¶
Install the .deb package and run the binary from your PATH.
The package installs configuration under /etc/subcon/conf and schema under
/etc/subcon/schema. The default conf/pref.toml lookup falls back to
/etc/subcon/conf/pref.toml when it is not found in the working directory.
Build from source¶
Prerequisites¶
- Rust 1.85+ (Rust 2024 edition)
- Git
- A writable working directory for
conf/andschema/
Rust edition
Subcon targets the Rust 2024 edition. Use a recent toolchain to avoid compiler errors.
Install Rust¶
Build¶
Run¶
Or run the release binary:
Verify¶
Common flags
--pref: path topref.toml(defaultconf/pref.toml)
Next steps¶
- Review General Settings.
- Add or edit profiles in Proxy.