Nim wrapper for SDL 2.x
Switch branches/tags
Nothing to show
Clone or download
Fetching latest commit…
Cannot retrieve the latest commit at this time.

SDL2 for Nim

This package contains the bindings for SDL2 to Nim.


You must install the SDL2 C libraries before these Nim bindings can be used.

macOS with Homebrew

If you don't already have Homebrew installed, install it from the Homebrew site.

Install the SDL2 C libraries:

brew install sdl2{,_gfx,_image,_mixer,_net,_ttf}


Install SDL2 development libraries using your distribution's packaging tool of choice.




Add requires "sdl2" to your .nimble file.

You can also install manually with nimble install sdl2 if your project does not yet have a nimble package file.

For more information on using nimble, consult the nim documentation.


For documentation about SDL2 see