nctl is the command-line interface for Nine's cloud platform.
It lets you manage applications, services, storage, and more from your terminal.
| Category | Resources |
|---|---|
| deplo.io | Applications, Builds, Releases, Configs |
| storage.nine.ch | PostgreSQL, MySQL, OpenSearch, KeyValueStore, Buckets, BucketUsers |
| infrastructure.nine.ch | Kubernetes Clusters, CloudVMs |
| networking.nine.ch | ServiceConnections |
| iam.nine.ch | APIServiceAccounts |
| management.nine.ch | Projects |
# 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 <<EOF > /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
# EGet
# Install eget https://github.com/zyedidia/eget
eget ninech/nctlBinaries for macOS, Linux and Windows can be found on the releases page.
- Login to the API:
nctl auth login - Explore available commands:
nctl --help
For complete documentation, tutorials, and guides, visit docs.nine.ch/docs/nctl/.
make # Build nctl
make test # Run tests
make lint # Run linters
make lint-fix # Run linters and fix issues
make update # Update dependencies
make clean # Remove built artifacts