Installing Nift
Neon Nift logo
[contents]

Contents

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:

There are also specific instructions at the following links for:


Installation from GitHub release binaries

There are binary releases for some platforms available directly from the Nift GitHub repo releases page. It should be reasonably easy to clone or download the repo to compile and install the project yourself with a c++ compiler installed (you may be able to share the binary around once one person has figured out how to compile the source), see the sections to compile from source for each platform (on some platforms like Windows you will need to copy the binary rather than installing from the makefile).

Linux installation using Snap

Snapcraft logo

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 --classic

Snapcraft have a Nift snap available for the following Linux distributions:

Arch snap   CentOS snap   Debian snap   Elementary OS snap   Fedora snap   KDE Neon snap   Kubuntu snap   Manjaro snap   Linux Mint snap   openSUSE snap   Red Hat Enterprise Linux snap   Ubuntu snap

To uninstall Nift enter snap remove nift.

Linux installation using Flatpak

Flathub logo

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

FreeBSD installation

Flathub logo

There is a FreeBSD port of Nift available here.

For a source install from FreeBSD ports:

$ cd /usr/ports/www/nift 
$ make install clean

For a binary install using pkgng:

$ pkg install www/nift

Alternative install using pkgng:

$ su -
# portsnap fetch
# portsnap update
# cd /usr/ports/www/nift
# make
# make install
# exit

To uninstall Nift using ports enter:

$ cd /usr/ports/www/nift
$ make deinstall

and using pkgng enter:

$ pkg delete www/nift

Gentoo installation

There is a Gentoo overlay of Nift available here.

Add the overlay containing Nift Ebuilds:

$ layman -f -o https://raw.githubusercontent.com/NuLL3rr0r/gentoo-overlay/master/repositories.xml -a NuLL3rr0r

For installing the latest stable release of Nift:

$ emerge -atuv www-apps/nift

And, for the development version (note that some shells require quotation of this syntax):

$ emerge -atuv '=www-apps/nift-9999'

In order to set the development version as the default installed version of Nift, and avoid getting it downgraded by Portage on subsequent @world upgrades:

$ mkdir -p /etc/portage/package.accept_keywords/
$ echo '=www-apps/nift-9999 **' > /etc/portage/package.accept_keywords/www-apps_nift
$ emerge -atuv '=www-apps/nift-9999'

To uninstall Nift enter:

$ emerge -C www-apps/nift

OSX installation using Homebrew

Homebrew logo

You can install Nift on OSX using the Homebrew package manager, see here. Install instructions are here. Alternatively first install brew, eg:,

/usr/bin/ruby -e "$(curl -fsSL https://raw.githubusercontent.com/Homebrew/install/master/install)"

then enter:

brew install nift

To uninstall Nift enter brew uninstall nift.

Windows installation using Chocolatey

Chocolatey logo

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

choco install nift

To uninstall Nift enter choco uninstall nift.

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