Installation#

There are a few ways to install Sysand:

  • By installing the sysand Python package from PyPI

  • By 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

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

  1. Right-click the downloaded .zip file and choose “Extract All…”

  2. Move the extracted sysand.exe to %LOCALAPPDATA%\Programs\Sysand\sysand.exe

  3. Add to PATH via Environment Variables:

    1. Open “Environment Variables” (search in Start menu)

    2. Under “User variables”, select “Path” and click “Edit”

    3. Click “New” and add %LOCALAPPDATA%\Programs\Sysand

    4. Click “Ok” to save

PowerShell installation

  1. Open PowerShell

  2. 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
  1. 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")
}
  1. Restart your terminal for PATH changes to take effect.

Latest official Sysand CLI release can be downloaded below or from latest GitHub release.

System installation

  1. Open Terminal

  2. Extract the archive and move the sysand binary to a folder in PATH by 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.

  1. 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
  1. Move the executable as shown above for the system installation, but instead of /usr/local/bin/sysand move to ~/.local/bin/sysand.

Latest official Sysand CLI release can be downloaded below or from latest GitHub release.

System installation

  1. Open a terminal

  2. Extract the archive and move the sysand binary to a folder in PATH by 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.

  1. 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
  1. Move the executable as shown above for the system installation, but instead of /usr/local/bin/sysand move 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