Installation

csspin is available at PyPI: https://pypi.org/project/csspin/ and can be installed using any way you like using pip. It is most convenient to have the spin command locally installed and always available on your PATH, just like a system command.

One easy way of installing spin privately in your home directory is by using pipx, as described in the next section.

Installing with pipx

pipx is a tool that installs Python packages into a user-specific location in a user’s HOME directory. You can install it like so:

Installation of pipx
python -m pip install --user pipx
python -m pipx ensurepath

ensurepath adds $HOME/.local/bin to your shell’s configuration, so commands from packages installed by pipx are available in PATH. Make sure to restart your shell to make the setting effective.

Installing spin is as easy as follows:

Installation of csspin using pipx
pipx install csspin

System requirements

In order to install and run csspin, the following system dependencies are needed:

  • Python 3.10 or later