@janhq/nitro

0.0.3 • Public • Published

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.

Package Sidebar

Install

npm i @janhq/nitro

Weekly Downloads

1

Version

0.0.3

License

AGPL-3.0

Unpacked Size

40.1 kB

Total Files

6

Last publish

Collaborators

  • louisle
  • jan-service-account