Installation
Install Weavori on your platform in under a minute.
npx (macOS, Linux, Windows)
The quickest way to run Weavori without installing anything permanently:
npx @weavori/cli generate --url postgres://user:pass@host:5432/db
The first run automatically downloads the correct binary for your platform and caches it locally. Subsequent runs are instantaneous.
The binary is cached in a user-level directory:
- macOS:
~/Library/Caches/weavori/ - Linux:
~/.cache/weavori/ - Windows:
%LOCALAPPDATA%\weavori\cache\
Global install
If you use Weavori regularly and prefer a permanent install:
npm install -g @weavori/cli
weavori generate --url postgres://user:pass@host:5432/db
macOS
Homebrew
brew install weavori/tap/weavori
Manual binary
Download the latest macOS release, then move it into your PATH:
curl -LO https://github.com/ammarmalik17/weavori/releases/latest/download/weavori_darwin_arm64.tar.gz
tar -xzf weavori_darwin_arm64.tar.gz
sudo mv weavori /usr/local/bin/
Linux
Install script
curl -sSf https://weavori.com/install.sh | sh
Manual binary
curl -LO https://github.com/ammarmalik17/weavori/releases/latest/download/weavori_linux_amd64.tar.gz
tar -xzf weavori_linux_amd64.tar.gz
sudo mv weavori /usr/local/bin/
Windows
Download weavori_windows_amd64.zip from the releases page. Extract the archive and add the directory to your PATH environment variable.
# PowerShell
Expand-Archive weavori_windows_amd64.zip -DestinationPath C:\tools\weavori
# Then add C:\tools\weavori to your PATH
Docker
docker pull ghcr.io/ammarmalik17/weavori:latest
docker run --rm ghcr.io/ammarmalik17/weavori --help
Verify installation
weavori version
You should see the installed version printed to your terminal.