Installation#
There are a few ways to install Sysand:
By installing the
sysandPython package from PyPIBy downloading a sysand binary manually or with an installation script
By compiling Sysand from its source code
Minimum requirements#
System requirements:
Windows 10 or newer, x64 or arm64
System requirements:
macOS Big Sur 11.0 or newer, arm64
macOS High Sierra 10.12 or newer, x64
System requirements:
Linux x64 distribution with GNU C Library
glibc >= 2.31
Some Linux distributions, including Alpine and Chimera, do not include glibc
and may not support applications that require it.
To check your glibc version with gcc, run:
$(cat "$(gcc -print-file-name=libc.so)" | grep -P '/[^\s]+/libc\.so\.[\w]+' -o)
You should see output similar to:
GNU C Library (GNU libc) stable release version 2.40.
To check your platform with Python, run:
python -c "import platform; print(platform.platform())"
The output should include the glibc version at the end, such as
Linux-6.13.7-3-cachyos-x86_64-with-glibc2.41.
Network requirements:
Internet connection for installation, updates, and normal package index usage
Recommended: PyPI#
This method requires Python 3.10 (64-bit) or newer.
Sysand is published to PyPI and includes both the CLI and Sysand Python library.
We recommend installing Sysand into an isolated Python virtual environment:
Open a terminal and create a Python virtual environment:
python -m venv .venv
Activate the created virtual environment.
Using Command Prompt:
.\.venv\Scripts\activate
Using PowerShell:
.\.venv\Scripts\Activate.ps1
PowerShell may block activation with a “scripts disabled” error. To allow script execution for the current PowerShell process, run:
Set-ExecutionPolicy Bypass -Scope Process -Force
Verify that the virtual environment is active:
where.exe python
The printed path should end with .venv\Scripts\python.exe.
source .venv/bin/activate
Verify that the virtual environment is active:
which python
The printed path should end with .venv/bin/python.
source .venv/bin/activate
Verify that the virtual environment is active:
which python
The printed path should end with .venv/bin/python.
Install Sysand from PyPI:
pip install sysand
You should see output similar to: Successfully installed sysand-X.Y.Z.
Before running Python scripts that use the Sysand library, ensure that the virtual environment is active.
Alternative: Installation script#
We provide a script to download and install sysand.
The script downloads the official GitHub Release archive for your platform,
extracts the sysand executable, and copies it into an install directory. By
default, latest means the latest non-prerelease GitHub release. To install a
prerelease, pass an explicit version.
The script does not edit your shell profile or PATH settings. If the install
directory is not already on PATH, the script prints a note after installation.
The default install directory is %LOCALAPPDATA%\Programs\Sysand.
On Windows, the PATH note checks your user Path setting.
Download, inspect, then run the script:
Invoke-WebRequest https://sysand.com/install.ps1 -OutFile install.ps1
notepad install.ps1
powershell -ExecutionPolicy Bypass -File .\install.ps1
Or run it directly:
irm https://sysand.com/install.ps1 | iex
To install a specific release version, use -Version. The leading v is
optional.
.\install.ps1 -Version 0.1.0
.\install.ps1 -Version 0.1.0-rc.1
.\install.ps1 -Version v0.1.0-rc.1
To choose a different install directory:
.\install.ps1 -InstallDir "$env:USERPROFILE\bin"
Download the script first if you want to pass -Version or -InstallDir.
The default install directory is $HOME/.local/bin.
Download, inspect, then run the script:
curl -fsSLO https://sysand.com/install.sh
less install.sh
sh install.sh
Or run it directly:
curl -fsSL https://sysand.com/install.sh | sh
To install a specific release version, use --version. The leading v is
optional.
sh install.sh --version 0.1.0
sh install.sh --version 0.1.0-rc.1
sh install.sh --version v0.1.0-rc.1
To choose a different install directory:
sh install.sh --install-dir "$HOME/bin"
To install into /usr/local/bin, use --system-install. If the current user is
not root, the install step uses sudo.
sh install.sh --system-install
Flags can also be passed when piping the script:
curl -fsSL https://sysand.com/install.sh | sh -s -- --install-dir "$HOME/bin"
The default install directory is $HOME/.local/bin.
Download, inspect, then run the script:
curl -fsSLO https://sysand.com/install.sh
less install.sh
sh install.sh
Or run it directly:
curl -fsSL https://sysand.com/install.sh | sh
To install a specific release version, use --version. The leading v is
optional.
sh install.sh --version 0.1.0
sh install.sh --version 0.1.0-rc.1
sh install.sh --version v0.1.0-rc.1
To choose a different install directory:
sh install.sh --install-dir "$HOME/bin"
To install into /usr/local/bin, use --system-install. If the current user is
not root, the install step uses sudo.
sh install.sh --system-install
Flags can also be passed when piping the script:
curl -fsSL https://sysand.com/install.sh | sh -s -- --install-dir "$HOME/bin"
Alternative: Manual Installation#
Latest official Sysand CLI release can be downloaded below or from latest GitHub release.
The downloaded .zip archive contains sysand.exe. It can either be
installed manually or by running a few PowerShell commands.
Manual installation
Right-click the downloaded
.zipfile and choose “Extract All…”Move the extracted
sysand.exeto%LOCALAPPDATA%\Programs\Sysand\sysand.exeAdd to
PATHvia Environment Variables:Open “Environment Variables” (search in Start menu)
Under “User variables”, select “Path” and click “Edit”
Click “New” and add
%LOCALAPPDATA%\Programs\SysandClick “Ok” to save
PowerShell installation
Open PowerShell
Run these commands:
# For x64 systems
# Create directory and extract the archive into it
mkdir "$env:LOCALAPPDATA\Programs\Sysand" -Force
Expand-Archive -Path sysand-windows-x86_64.zip `
-DestinationPath "$env:LOCALAPPDATA\Programs\Sysand" -Force
# For arm64 systems
# Create directory and extract the archive into it
mkdir "$env:LOCALAPPDATA\Programs\Sysand" -Force
Expand-Archive -Path sysand-windows-arm64.zip `
-DestinationPath "$env:LOCALAPPDATA\Programs\Sysand" -Force
Add folder to
PATH:
# Add to PATH
$currentPath = [Environment]::GetEnvironmentVariable("Path", "User")
$newPath = "$env:LOCALAPPDATA\Programs\Sysand"
if ($currentPath -notlike "*$newPath*") {
[Environment]::SetEnvironmentVariable("Path", "$currentPath;$newPath", "User")
}
Restart your terminal for
PATHchanges to take effect.
Latest official Sysand CLI release can be downloaded below or from latest GitHub release.
System installation
Open Terminal
Extract the archive and move the
sysandbinary to a folder inPATHby running the following commands:
# For Intel Macs
tar -xzf ~/Downloads/sysand-macos-x86_64.tar.gz -C ~/Downloads
sudo mv ~/Downloads/sysand /usr/local/bin/sysand
# For Apple Silicon Macs
tar -xzf ~/Downloads/sysand-macos-arm64.tar.gz -C ~/Downloads
sudo mv ~/Downloads/sysand /usr/local/bin/sysand
Alternative: user installation
It is also possible to install without sudo rights, but that requires
additional steps.
Run in Terminal:
# Create local bin directory if it doesn't exist
mkdir -p ~/.local/bin
# Add local bin directory to PATH in your shell profile
# (default ~/.zshrc, but could be ~/.bashrc etc.)
echo 'export PATH="$HOME/.local/bin:$PATH"' >> ~/.zshrc
source ~/.zshrc
Move the executable as shown above for the system installation, but instead of
/usr/local/bin/sysandmove to~/.local/bin/sysand.
Latest official Sysand CLI release can be downloaded below or from latest GitHub release.
System installation
Open a terminal
Extract the archive and move the
sysandbinary to a folder inPATHby running the following commands:
# For x64 systems
tar -xzf sysand-linux-x86_64.tar.gz
sudo mv sysand /usr/local/bin/sysand
# For arm64 systems
tar -xzf sysand-linux-arm64.tar.gz
sudo mv sysand /usr/local/bin/sysand
Alternative: user installation
It is also possible to install without sudo rights, but that requires
additional steps.
Run in a terminal:
# Create local bin directory if it doesn't exist
mkdir -p ~/.local/bin
# Add local bin directory to PATH in your shell profile (~/.bashrc, ~/.zshrc, etc.)
echo 'export PATH="$HOME/.local/bin:$PATH"' >> ~/.bashrc
source ~/.bashrc
Move the executable as shown above for the system installation, but instead of
/usr/local/bin/sysandmove to~/.local/bin/sysand.
Verify the installation#
Run in a freshly started terminal:
sysand --version
You should see an output similar to: sysand X.Y.Z
Alternative: Development version#
Latest development version of Sysand can be downloaded from the
nightly GitHub release.
Keep in mind that nightly release assets are not signed and so may be prevented from running by antivirus software.
Alternative: Compiling from source#
Sysand is written in Rust programming language and so can be installed using cargo. Cargo is part of Rust language tooling. If you have it, run the following command in the terminal:
cargo install sysand --git=https://github.com/sensmetry/sysand.git