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

Upgrade ngn in place (uses the current install directory):

Terminal window
ngn upgrade

Overrides:

Terminal window
ngn upgrade --version latest --arch x86_64 --dir ~/.local/bin

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

Terminal window
ngn --version

We currently only support VSCode on x86_64. Search for the “ngn” extension and you should easily find it.