janhq / node-nitro

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

Node-Nitro

Node-Nitro is a project that automates the download and setup of the Nitro software. It is designed to work on Windows, ubuntu and macos and supports both the standard and CUDA-enabled versions of Nitro.

Features

  • Automatic download of specific Nitro version
  • Support for CUDA-enabled Nitro version
  • Easy setup with minimal user input

Requirements

  • Node.js installed

Usage

To install nitro, run the following command in your terminal:

# on Linux, macos and windows just run
npm install -g @janhq/nitro

# To specify a version of Nitro to download
# on linux or macos
NITRO_VERSION=0.1.17 && npm install -g @janhq/nitro

# on windows cmd
set NITRO_VERSION=0.1.17 && npm install -g @janhq/nitro

# on windows powershell
$env:NITRO_VERSION="0.1.17"; npm install -g @janhq/nitro

# On linux and windows to install nitro GPU version
# on linux
GPU=true && npm install -g @janhq/nitro

# on windows cmd
set GPU=true && npm install -g @janhq/nitro

# on windows powershell
$env:GPU="true"; npm install -g @janhq/nitro

After installation, you can run the following command to download and setup Nitro:

nitro

License

This project is licensed under the AGPL-3.0 License - see the LICENSE.md file for details.

About

License:GNU Affero General Public License v3.0


Languages

Language:JavaScript 63.5%Language:Batchfile 36.5%