Installing nio on MacOS

[info] Mac System Requirements

Version 10.9, Maverick, or above
Click Apple Menu > About this Mac to view your MacOS version.

Clang or similar C compiler
In your terminal (Applications > Utilities > Terminal), type clang --version to confirm that you have clang installed. If you do not, you can get it by installing Xcode Command Line Tools by entering xcode-select --install into your terminal.

Git is a fast, scalable, distributed version-control system with a rich command set that the nio System Designer relies on for adding and updating blocks as part of your nio instance.
In your terminal (Applications > Utilities > Terminal), type git --version to see if git is installed.
Follow this installation guide to get started with Git.

The following must be in your environment to run nio. You can install these requirements globally if you have a dedicated, fresh machine running Python and nio. If you intend to run other Python projects on the same machine, we recommend you avoid version conflicts by using a separate Python environment containing these requirements.

[info] nio Requirements

Python version 3.4+
In your terminal (Applications > Utilities > Terminal), type python3 --version to see which version of Python 3 you have installed.
If you don't have Python 3 or have an older version, download Python 3.
Complete the installation process of Python 3.6+ by double clicking the Install Certificates.command file in your Applications > Python 3.6 folder.

Pip is a package management system built for software written in Python. We recommend updating to the most recent version of pip3.
In your terminal (Applications > Utilities > Terminal), type pip3 --version to see which version of pip you have installed.
If you do not have pip installed you can do so by typing curl | python3 into your terminal.
Update to the most recent version of pip3 with the command: pip3 install -U pip.

You will also need the following, provided by nio:

[info] nio

A nio binary: (you'll need to agree to the license).


Open a terminal (Applications > Utilities > Terminal), and install nio using Python’s pip3 installer (substitute your filepath and binary filename below—the Xs represent the date of the binary in YYYYMMDD format):

pip3 install -U ~/Downloads/nio_lite-XXXXXXXX-py3-none-any.whl

You can test that nio is correctly installed by running the following command:

which niod

If you don’t see a path to niod, follow these instructions to set your PATH in MacOS.

Once you have nio installed, you will need a project with a nio.conf file to run it against. Follow these instructions to create a project and run nio.

results matching ""

    No results matching ""