open-index/open-npm huggingface dataset:
npm package: @langgenius/nodwork
Description: Terminal client for nod.work.
Latest version: 0.0.6

# `@langgenius/nodwork`

`nodwork` is the terminal CLI for [`nod.work`](https://nod.work).

## Overview

`nodwork` lets you use [`nod.work`](https://nod.work) from your terminal.

Generate a bootstrap token in the nod desktop app or mobile app, then sign in with:

```bash
nodwork --token <token>
```

## Install

```bash
npm i -g @langgenius/nodwork
```

Other install and run entrypoints:

```bash
npx @langgenius/nodwork
```

```bash
bun add -g @langgenius/nodwork
```

```bash
bunx @langgenius/nodwork
```

## Run

After a global install, start the CLI with:

```bash
nodwork
```

Show help:

```bash
nodwork --help
```

## Login

Interactive login:

```bash
nodwork
```

Login with a bootstrap token:

```bash
nodwork --token <token>
```

For headless login with a bootstrap token:

```bash
nodwork login --non-interactive --token <token>
```

`<token>` must be generated first from the nod desktop app or mobile app.

Headless GitHub login:

```bash
nodwork login --non-interactive --method github
```

Clear the stored session:

```bash
nodwork logout
```

The executable command is always:

```bash
nodwork
```

## 简体中文

`nodwork` 是 [`nod.work`](https://nod.work) 的终端 CLI。

你可以先在 nod 桌面端或移动端生成一个 bootstrap token，再在终端中登录：

```bash
nodwork --token <token>
```

安装命令：

```bash
npm i -g @langgenius/nodwork
```

执行命令：

```bash
nodwork
```

## 日本語

`nodwork` は [`nod.work`](https://nod.work) のターミナル CLI です。

先に nod のデスクトップアプリまたはモバイルアプリで bootstrap token を生成し、その後ターミナルでログインします。

```bash
nodwork --token <token>
```

インストール:

```bash
npm i -g @langgenius/nodwork
```

実行:

```bash
nodwork
```