stow

How To Install Stow In Debian, Ubuntu, Alpine, Arch, Kali, Fedora, Raspbian And MacOS?

How To Install Stow In Debian, Ubuntu, Alpine, Arch, Kali, Fedora, Raspbian And MacOS?

stow

Symlink manager.
Often used to manage dotfiles.

Maintainer: Chuan-kai Lin



Section: admin

Install stow

  • Debian apt-get install stow Click to copy
  • Ubuntu apt-get install stow Click to copy
  • Alpine OS apk add stow Click to copy
  • Arch Linux pacman -S stow Click to copy
  • Kali Linux apt-get install stow Click to copy
  • Fedora dnf install stow Click to copy
  • Raspbian apt-get install stow Click to copy
  • macOS brew install stow Click to copy

Symlink manager. Often used to manage dotfiles.

How to use stow?

Below are few example commands for stow that you can use in the terminal.

Symlink all files recursively to a given directory:
stow --target=path/to/target_directory file1 folder1 file2 folder2Click to copy
Delete symlinks recursively from a given directory:
stow --delete --target=path/to/target_directory file1 folder1 file2 folder2Click to copy
Simulate to see what the result would be like:
stow --simulate --target=path/to/target_directory file1 folder1 file2 folder2Click to copy
Delete and resymlink:
stow --restow --target=path/to/target_directory file1 folder1 file2 folder2Click to copy
Exclude files matching a regular expression:
stow --ignore=regex --target=path/to/target_directory file1 folder1 file2 folder2Click to copy
To install the latest version of stow in your favorite operating system just copy the stow installation command from above and paste it into terminal. It will download and install the latest version of stow 2023 package in your OS.