Choose your platform
Linux
Ubuntu, Debian, Fedora, and other distributions
macOS
Install via Homebrew or build from source
Windows
Using Visual Studio Build Tools
Linux
Install from distribution (recommended)
On Ubuntu/Debian, install Shed Skin directly from the package manager:This installs Shed Skin and most dependencies automatically.
Install dependencies
To compile and run programs generated by Shed Skin, you need:
- g++ - The GNU C++ compiler
- libpcre2-dev - PCRE2 library for regular expressions
- python-all-dev - Python development headers
- libgc-dev - Boehm garbage collector
Ubuntu/Debian
Fedora
The package names may vary slightly between distributions. Use your distribution’s package search to find the correct names.
Install from source (alternative)
If Shed Skin isn’t available in your package manager, install from source:Or download and install from the tarball:
Building dependencies from source
If the required libraries aren’t available via your package manager, you can build them from source.Build Boehm GC from source
Build Boehm GC from source
Download version 7.2alpha6 or later from hboehm.info/gc:The configuration flags enable important features:
--enable-threads=posix- Thread support--enable-cplusplus- C++ bindings--enable-thread-local-alloc- Thread-local allocation for performance--enable-large-config- Support for large heaps
Build PCRE2 from source
Build PCRE2 from source
Download version 10.44 or later from pcre.org:
macOS
Install Xcode Command Line Tools
First, ensure you have the Xcode Command Line Tools (includes the C++ compiler):
Install dependencies with Homebrew
Use Homebrew to install the required libraries:
bdw-gc is the Boehm garbage collector package on Homebrew.Building dependencies from source on macOS
Building dependencies from source on macOS
If you prefer to build from source rather than using Homebrew, follow the same instructions as Linux:Boehm GC:PCRE2:
Windows
Windows installation requires Visual Studio Build Tools and uses CMake with Conan for dependency management.Install Visual Studio Build Tools
Download and install Visual Studio Build Tools.During installation, make sure to enable:
- Desktop development with C++
- CMake tools for Windows (under Individual Components)
Install CMake
Download and install CMake (3.15 or later).During installation, choose to add CMake to your system PATH.
Windows-specific notes
Why use --conan flag?
Why use --conan flag?
On Windows, use the This tells Shed Skin to use Conan to automatically download and build dependencies (Boehm GC and PCRE2). Without this flag, you’d need to manually install these libraries.
--conan flag when building:Executable location
Executable location
On Windows, compiled programs are placed in
build/Debug/ or build/Release/ instead of just build/:nmake not found error
nmake not found error
If you see “nmake is not recognized”, you’re not in a Developer Command Prompt. Open the Start menu and search for “Developer Command Prompt for VS”.
Verify your installation
Test your installation with a simple program:Distributing compiled programs
When distributing compiled programs to other systems, include the required runtime libraries.Linux/macOS
Your binary depends onlibgc and libpcre2-8. To check dependencies:
Windows
Windows executables built with--conan are statically linked and should run without additional dependencies.
Next steps
Quickstart
Compile your first program
Command-line options
Learn about build flags and options
Troubleshooting
Solve common installation issues
Examples
Browse example programs
Getting help
If you encounter issues:- Check the troubleshooting guide
- Visit the GitHub issues
- Join the mailing list for community support