One command for macOS and Linux.
This is the primary install path from the README. The script chooses the release asset for the current platform and installs the binary. When a terminal is available, it can ask which shells to configure.
curl -fsSL https://raw.githubusercontent.com/oshabana/aliaz/main/install.sh | shaliaz --helpScript shell setup, sync setup, updates, version, or destination.
Configure shells
Set ALIAZ_INSTALL_SHELLS to one or more shell
names, all, or skip. Interactive
installs now use numbered menus instead of free-text shell
names.
curl -fsSL https://raw.githubusercontent.com/oshabana/aliaz/main/install.sh | ALIAZ_INSTALL_SHELLS="zsh bash" shcurl -fsSL https://raw.githubusercontent.com/oshabana/aliaz/main/install.sh | ALIAZ_INSTALL_SHELLS=skip shStart sync setup
Use ALIAZ_INSTALL_SYNC with
login, register, or
skip. Interactive installs use a menu, and
non-interactive runs also need
ALIAZ_SYNC_USERNAME.
curl -fsSL https://raw.githubusercontent.com/oshabana/aliaz/main/install.sh | ALIAZ_INSTALL_SYNC=login ALIAZ_SYNC_USERNAME=ada shUpdate later
Use aliaz update to download and install the
latest release for the current platform.
aliaz updateInstall a version
Set ALIAZ_VERSION before the shell script.
curl -fsSL https://raw.githubusercontent.com/oshabana/aliaz/main/install.sh | ALIAZ_VERSION=v0.1.2 shChange install dir
Use ALIAZ_INSTALL_DIR for another binary path.
curl -fsSL https://raw.githubusercontent.com/oshabana/aliaz/main/install.sh | ALIAZ_INSTALL_DIR=/usr/local/bin shBuild with Cargo when you want local development.
Install Rust if needed, then install Aliaz from the open-source GitHub repository checkout.
cargo install --path .cargo run -- --helpcargo run -- add gs "git status"Confirm the binary is available.
If aliaz is not found, add the install directory to
your PATH and open a new shell. If you skipped
shell setup, run aliaz init zsh,
aliaz init bash, or aliaz init fish.
aliaz --helpOutput: Manage shell aliases from a local SQLite-backed source of truth