Installing Nift

How to install Nift on Linux, OSX and Windows

There are a number of different ways you can install Nift on all of Linux, OSX and Windows. This page outlines how to install Nift:

Note: Currently if you install through Flatpak or Snap you will not be able to use the powerful scripting features that Nift has to their full extent, it is recommended that you instead install from source. I am trying to work out how to rectify this.


Linux installation using Snap

You can install Nift on linux using the Snap package manager, for instructions see here. Alternatively first install snapd, eg. sudo apt-get install snapd on Ubuntu, then enter:

		    						snap install nift
		    						sudo snap alias nift nsm
		    					

To uninstall Nift enter sudo snap unalias nsm and snap remove nift.

Linux installation using Flatpak

Thanks to refi64 for making the installation through Flatpak much easier and cleaner.

You can install Nift on linux using the Flatpak package manager. First install Flatpak then enter in to a terminal:

		    						flatpak install --user https://flathub.org/repo/appstream/cc.nift.nsm.flatpakref
		    					

Alternatively, download cc.nift.nsm.flatpakref to ~/Downloads then open up a terminal and enter:

		    						flatpak install cc.nift.nsm.flatpakref
		    					

Note you can just open cc.nift.nsm.flatpakref in GNOME Software or KDE Discover if you have either of those.

Then add the following aliases to ~/.bashrc (or the equivalent to the configuration profile file for your shell):

		    						alias nsm="flatpak run cc.nift.nsm"
		    						alias nift="flatpak run cc.nift.nsm" 
		    					

To uninstall Nift remove the aliases from ~/.bashrc and enter flatpak uninstall nift, if that doesn't work try flatpak uninstall cc.nift.nsm and if that fails try:

		    						flatpak uninstall cc.nift.nsm/x86_64/stable
		    					

Windows installation using Chocolatey

You can install Nift on Windows using Chocolatey. First install Chocolatey, then follow the instructions here, or alternatively enter:

		    						choco install nsm
		    					

To uninstall Nift enter choco uninstall nsm.

Windows installation from executable

Download this executable and this executable then place them anywhere in your user's path, eg. in C:\Windows\system32.

Instructions for installing Nift from source on:

  1. linux
  2. osx
  3. windows