Popularity
2.5
Growing
Activity
9.0
Declining
63
2
5

Monthly Downloads: 514
Programming language: Rust
License: GNU Affero General Public License v3.0 or later
Latest version: v0.3.7

emplace alternatives and similar packages

Based on the "Utilities" category

Do you think we are missing an alternative of emplace or a related project?

Add another 'Utilities' Package

README

emplace Command-line tool to mirror installed software on multiple machines.

Features

  • [x] Outputs a human-readable (RON) file to sync between machines: .emplace
  • [x] Version control with git to automatically push & pull updates
  • [x] Automatic prompt after installing a package
  • [x] Integrates well with dotfiles repositories
  • [x] Parses history file
  • Package managers supported:

    OS Package Manager
    Apt
    Nix
    Pacman
    RUA
    Yay
    Snap
    Homebrew
    Chocolatey
    Scoop
    Cargo
    Rustup Component
    Python Pip
    Python Pip 3
    Node Package Manager
  • Shells supported:

    Shell
    Bash
    Zsh
    Fish

Installation

Getting Started

  1. Install the emplace binary:

### Windows

#### Scoop

   scoop install emplace

### Source

#### Rust

   cargo install emplace
  1. Add the init script to your shell's config file:

#### Bash

Add the following to the end of ~/.bashrc:

   # ~/.bashrc

   source <(emplace init bash)

#### Zsh

Add the following to the end of ~/.zshrc:

   # ~/.zshrc

   eval "$(emplace init zsh)"

#### Fish

Add the following to the end of ~/.config/fish/config.fish:

```sh
# ~/.config/fish/config.fish

emplace init fish | source
```

Usage

Mirroring Packages

Invoke the supported package manager of choice using the command line in a normal way and you will automatically be prompted to mirror the package, for example:

cargo install topgrade
# -- or --
rustup component add rustfmt
# -- or --
sudo apt install meld
# -- or --
pacman -S zsh
# -- or --
rua install peek
# -- or --
yay -S thunar
# -- or --
sudo snap install scrcpy
# -- or --
npm install -g release
# -- or --
pip3 install --user termtosvg
# -- or --
choco install neovim
# -- or --
scoop install curl
# -- or --
nix-env -iA nixpkgs.nixfmt
# -- or --
brew install wget

Synchronizing On Another Machine

Just invoke emplace install, and you will be prompted with the packages to install:

emplace install

History Analysis

Invoke emplace history $HISTFILE or emplace history /path/to/history/file.
It will parse your history and prompt to select, which packages you want to synchronize.

Removing Synchronized Packages

Run emplace clean and select the packages you want to be cleaned, they won't be removed from your system.

Creating and modifying config files

Run emplace config --new to create a new config and configure the repository or emplace config --path to retrieve the path to the configuration file.

Contributors

Thanks goes to these wonderful people (emoji key):

<!-- ALL-CONTRIBUTORS-LIST:START - Do not remove or modify this section --> <!-- prettier-ignore-start --> <!-- markdownlint-disable --> Logan Magee💻 🐛 Vladimir📦 💻 🐛 🚧 👀 Jozef Hollý🤔 Oleksii Filonenko💻 📦 👀 x0f5c3💻 Benjamin S. Leveritt🤔 🚧 Michael Borejdo🤔

<!-- markdownlint-enable --> <!-- prettier-ignore-end --> <!-- ALL-CONTRIBUTORS-LIST:END -->

This project follows the all-contributors specification. Contributions of any kind welcome!