Skip to content

Install

ngn is only supported on Linux

By default, ngn installs at ~/.local/bin. To customize this, prefix the below command with NGN_INSTALL_DIR=/custom/dir/path

Terminal window
curl -fsSL https://ngnlang.com/install | bash

Architecture is auto-detected, but you can be explicit (x86_64, amd64, arm64, aarch64)

Terminal window
curl -fsSL https://ngnlang.com/install -a aarch64 | bash

If this doesn’t work, you may need to add ngn and ngnr to your PATH, or restart your terminal.

Terminal window
ngn --version