https://github.com/ninech/nctl
Interact with Nine API resources.
https://github.com/ninech/nctl
Last synced: 4 months ago
JSON representation
Interact with Nine API resources.
- Host: GitHub
- URL: https://github.com/ninech/nctl
- Owner: ninech
- License: apache-2.0
- Created: 2022-10-31T13:45:29.000Z (about 3 years ago)
- Default Branch: main
- Last Pushed: 2025-07-10T14:25:49.000Z (4 months ago)
- Last Synced: 2025-07-10T20:15:31.604Z (4 months ago)
- Language: Go
- Homepage:
- Size: 1.1 MB
- Stars: 14
- Watchers: 8
- Forks: 6
- Open Issues: 8
-
Metadata Files:
- Readme: README.md
- License: LICENSE
Awesome Lists containing this project
README
# nctl
```bash
$ nctl --help
Usage: nctl
Interact with Nine API resources. See https://docs.nineapis.ch for the full API docs.
Run "nctl --help" for more information on a command.
```
## Setup
```bash
# If you have go already installed
go install github.com/ninech/nctl@latest
# Homebrew
brew install ninech/taps/nctl
# Debian/Ubuntu
echo "deb [trusted=yes] https://repo.nine.ch/deb/ /" | sudo tee /etc/apt/sources.list.d/repo.nine.ch.list
sudo apt-get update
sudo apt-get install nctl
# Fedora/RHEL
cat < /etc/yum.repos.d/repo.nine.ch.repo
[repo.nine.ch]
name=Nine Repo
baseurl=https://repo.nine.ch/yum/
enabled=1
gpgcheck=0
EOF
dnf install nctl
# Arch
# Install yay: https://github.com/Jguer/yay#binary
yay --version
yay -S nctl-bin
```
For Windows users, nctl is also built for arm64 and amd64. You can download the
latest exe file from the [releases](https://github.com/ninech/nctl/releases) and
install it.
## Getting started
* login to the API using `nctl auth login`
* run `nctl --help` to get a list of all available commands