@ondeinference / cli Mirror · read-only
Fork 0

Read-only mirror of github.com/ondeinference/onde-cli.

Mirrored from https://github.com/ondeinference/onde-cli.git

Synced Nov 23, 21:00 UTC

development
md 83 lines 1.93 KB
Rendered Raw
1 # Install
2
3 Pick one. Each method installs an `onde` command on your PATH.
4
5 ## npm
6
7 ```sh
8 npm install -g @ondeinference/cli
9 ```
10
11 ## Homebrew
12
13 ```sh
14 brew tap ondeinference/homebrew-tap && brew trust --tap ondeinference/homebrew-tap
15 brew install onde
16 ```
17
18 ## pip / uv / uvx
19
20 ```sh
21 pip install onde-cli
22 # or
23 uv tool install onde-cli
24 uv run onde --tui
25 # or with
26 uvx --from onde-cli onde --tui
27 ```
28
29 ## .NET tool
30
31 ```sh
32 dotnet tool install --global Onde.Cli
33 ```
34
35 ## Dart pub global
36
37 ```sh
38 dart pub global activate onde_cli
39 ```
40
41 The Dart package is a thin launcher. On first run it downloads the right native binary into `~/.onde/cli`, then reuses the local copy.
42
43 ## winget
44
45 ```powershell
46 winget install OndeInference.CLI
47 ```
48
49 ## Scoop
50
51 ```powershell
52 scoop bucket add onde https://github.com/ondeinference/scoop-bucket
53 scoop install onde
54 ```
55
56 ## Build from source
57
58 ```sh
59 cargo install onde-cli # from crates.io
60 # or, in a checkout:
61 cargo build --release
62 ```
63
64 A build you make yourself has no Onde credentials. It fine-tunes, merges, exports to GGUF and evaluates models on your machine, and chat works. Cloud sign-in, publishing to Hugging Face through your Onde account and assigning models to apps are off, and say so when you try them. The binaries on GitHub Releases and in the package managers include the credentials. To get them in a build of your own you need the Onde values in a `.env` file or the environment.
65
66 ## Pre-built binary
67
68 Download a release from [GitHub Releases](https://github.com/ondeinference/onde-cli/releases):
69
70 ```sh
71 # macOS Apple Silicon
72 curl -Lo onde https://github.com/ondeinference/onde-cli/releases/latest/download/onde-macos-arm64
73 chmod +x onde && mv onde /usr/local/bin/onde
74 ```
75
76 | Platform | File |
77 |---|---|
78 | macOS Apple Silicon | `onde-macos-arm64` |
79 | macOS Intel | `onde-macos-amd64` |
80 | Linux x64 | `onde-linux-amd64` |
81 | Linux arm64 | `onde-linux-arm64` |
82 | Windows x64 | `onde-win-amd64.exe` |
83 | Windows arm64 | `onde-win-arm64.exe` |