This package installs the LioranDB Windows portable ZIP and (optionally) adds the install folder to your PATH.
It resolves the latest Windows ZIP from https://db.lioransolutions.com/release.json (default channel), and will not download again if the latest version is already installed in the target folder.
py -m pip install liorandb-server-windowsInstalls into %USERPROFILE%\.liorandb, adds it to User PATH, and tells you what to run next:
liorandb-server-windowsIf that command is not found (your Python Scripts folder isn’t on PATH), run:
py -m liorandb_server_windowsOpen a new terminal, then run:
ldb-serveAvoids adding duplicates:
$dir = 'C:\LioranDB-Server'
$p = [Environment]::GetEnvironmentVariable('Path', 'User')
if (-not ($p -split ';' | Where-Object { $_.TrimEnd('\') -ieq $dir.TrimEnd('\') })) {
[Environment]::SetEnvironmentVariable('Path', ($p + ';' + $dir), 'User')
}Or via this package:
liorandb-server-windows add-to-path --target $env:USERPROFILE\.liorandbOpen a new terminal afterwards.
Add Python’s Scripts directory to User PATH:
$scripts = py -c "import sysconfig; print(sysconfig.get_path('scripts'))"
$p = [Environment]::GetEnvironmentVariable('Path','User')
if (-not ($p -split ';' | Where-Object { $_.TrimEnd('\') -ieq $scripts.TrimEnd('\') })) {
[Environment]::SetEnvironmentVariable('Path', ($p + ';' + $scripts), 'User')
}liorandb-server-windows --help
liorandb-server-windows install --helpTo auto-add to PATH instead of printing a command:
liorandb-server-windows install --path-scope userTo only print a command (no PATH changes):
liorandb-server-windows install --path-scope none