switchbrew/libnx logo

switchbrew/libnx

Free

Library for Switch Homebrew

FreeFree tier
Type
Open Source
Company
switchbrew

About switchbrew/libnx

libnx is an open-source library for developing homebrew applications for the Nintendo Switch. It is an AArch64-only userland library based on libctru, providing APIs and toolchain support (via devkitPro) for interacting with the Switch hardware and Horizon OS. The library is maintained by the switchbrew community and is released under the ISC license.

Key Features

AArch64-only userland library for Nintendo Switch
Based on libctru (Nintendo 3DS homebrew library)
Open source under ISC license
Supports devkitPro toolchain
Provides APIs for Horizon OS system interaction
Active community with 1.4k stars and 40 releases

Pros & Cons

Pros
  • Free and open source with permissive ISC license
  • Stable and well-maintained with regular releases
  • Large community and extensive documentation
  • Based on proven libctru architecture
Cons
  • Limited to Nintendo Switch ARM64 architecture only
  • Requires knowledge of Switch homebrew development and toolchain
  • Not intended for commercial game development or official SDK use

Best For

Developing homebrew applications for Nintendo SwitchCreating custom software and utilities for Horizon OSEducational projects and reverse engineering on Switch hardware

FAQ

What is libnx?
libnx is an open-source library for developing homebrew applications on the Nintendo Switch. It is an AArch64-only userland library based on libctru, providing APIs and toolchain support for interacting with the Switch hardware and Horizon OS.
Is libnx free to use?
Yes, libnx is available under the permissive ISC license, meaning it can be freely used, modified, and distributed.
What platforms does libnx support?
libnx is designed specifically for the Nintendo Switch and targets the AArch64 (ARM64) architecture. It is used in conjunction with the devkitPro toolchain.