Install sway from package repositories
mastersway package using your distribution's package manager.repository·master·Indexed 12 days ago
https://github.com/swaywm/swayAn i3-compatible Wayland compositor providing a tiling window management experience. Includes documentation on server lifecycle management via sway_server, session locking with sway_session_lock, and configuration commands for bars, window assignment, and tearing.
sway package using your distribution's package manager.To build the latest version of sway for testing or development, you must first install the necessary build dependencies.
Required build dependencies:
mesonwlrootswaylandwayland-protocolspcre2json-cpangocairoOptional dependencies:
gdk-pixbuf2 (required for tray support)scdoc (required for generating man pages)git (used to include version information)After installing the dependencies, use meson and ninja to build and install the project.
meson setup build
ninja -C build
sudo ninja -C build installsway package.sway using your distribution's package manager. If it is not available, refer to the Unsupported-packages wiki page for guidance on how to install it for your specific distribution.To build the HEAD of the sway repository and wlroots for testing or development, follow these steps:
Ensure the following dependencies are installed on your system:
meson (required for build)wlrootswaylandwayland-protocols (required for build)pcre2json-cpangocairogdk-pixbuf2 (optional: for additional icon formats in the notification area)swaybg (optional: for desktop wallpaper)scdoc (optional: for man pages, required for build)git (optional: for version information, required for build)Note: Items marked with * are build-time dependencies only.
Run the following commands to configure, build, and install sway:
meson setup build/
ninja -C build/
sudo ninja -C build/ installsway package in your distribution's package manager. If the package is not available in your distribution, refer to the Unsupported-packages documentation for installation guidance.To start Sway, execute the sway command from a TTY interface.
Note on Display Managers: While some display managers may work (for example, gdm is known to work well), they are not fundamentally supported by Sway.
swaysway using your distribution's package manager.sway package using your distribution's package manager. If the package is not available, consult the Unsupported packages wiki for specific installation guidance for your distribution.sway. If your distribution does not provide an official package, refer to the Unsupported packages guide for more information.To start Sway, run the sway command from within a TTY.
Note: Sway does not officially support display managers, although some (such as gdm) are known to work reasonably well.
swaysway using your distribution's package manager.