Skip to content

colmugx/ntm

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

48 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

NTM

Release Build

简体中文 | 日本語

NTM (Node Tool in Moonbit) is a fast Node.js version management tool built on Moonbit, similar to gmn and fnm.

inspired by akazwz/gnm

(This project is experimental. Do not use it in production.)

Main Features

  • User-friendly: Built-in common commands (such as list_remote, install, use) make it easy to get started.

Usage

NTM is a command-line tool that can be used as follows:

List Remote Modules

ntm list_remote

To list only LTS versions:

ntm list_remote --lts

Install a Specific Version

ntm install <version>

To install the latest LTS:

ntm install lts

Switch to a Specific Version

ntm use <version>

To switch to the latest LTS:

ntm use lts

Build Guide

  1. Clone the repository:
    git clone https://github.com/colmugx/ntm.git
  2. Enter the project directory:
    cd ntm
  3. Install dependencies and build the project (ensure all required dependencies are installed):
    moon build --target native

Notes

  1. Requires Zig 0.11.0 or later.
  2. Ensure that the MoonBit runtime environment is properly set up.
  3. The current code only supports macOS/aarch64 platform.

License

This project is licensed under the MIT License. For details, see LICENSE.

About

Node Toolkit in MoonBit

Resources

License

Stars

Watchers

Forks

Packages

No packages published