Skip to main content
This guide covers setting up a development environment for Nicotine+ on various platforms.

Dependencies

Runtime Dependencies

All runtime dependencies must be installed before running Nicotine+ from source.

Required

  • python3 >= 3.9 - Runtime language
  • gtk4 >= 4.6.9 or gtk3 >= 3.24.24 - Graphical interface
  • pygobject - Python bindings for GTK
  • libadwaita - Adwaita theme on GNOME (GTK 4)
  • gspell - Spell checking in chat (GTK 3)

Build Dependencies

  • python3-setuptools - Build backend
  • python3-build - Building packages
  • python3-wheel - Packaging
  • gettext - Generating translations

Testing Dependencies

  • pycodestyle - Code style checks
  • pylint - Code linting

Installing Dependencies

GNU/Linux

1

Install runtime dependencies

2

Install build dependencies

3

Install test dependencies

Windows and macOS

All required dependencies are included in the official Windows and macOS installers. For building packages in a development environment, see the PACKAGING.md documentation.

Development Installation

Run Nicotine+ directly from a local Git folder without installation:
1

Clone the repository

2

Run Nicotine+

3

Update to latest changes

This method is ideal for development as you can easily modify code and test changes immediately.

Option 2: pip Installation

Install the latest unstable build using pip:
1

Install from Git

2

Run Nicotine+

3

Update to latest

4

Uninstall (if needed)

Building from Source

Create a Source Distribution

1

Navigate to source directory

2

Build source distribution

3

Verify output

The source distribution will be created in the dist/ directory.

Test the Build

To test building the application:
Ensure the source distribution (sdist) includes all necessary files to run Nicotine+ before creating a release.

Testing Unstable Builds

For testing the latest unstable builds on various platforms:

GNU/Linux

Ubuntu and derivatives:
Debian and derivatives:

Windows

Unstable installers are built after every commit: Portable packages are also available that run from any folder without installation.

macOS

Unstable installers are built after every commit:
You must follow Apple’s instructions the first time you start Nicotine+ from an unstable build.

Next Steps

Now that your development environment is set up: