Skip to content

ninech/nctl

Repository files navigation

nctl

CI Release Go Report Card License

nctl is the command-line interface for Nine's cloud platform. It lets you manage applications, services, storage, and more from your terminal.

Documentation

Resources

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

Installation

# 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/nctl

Binaries for macOS, Linux and Windows can be found on the releases page.

Getting Started

  1. Login to the API: nctl auth login
  2. Explore available commands: nctl --help

For complete documentation, tutorials, and guides, visit docs.nine.ch/docs/nctl/.

Development

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

License

Apache 2.0

About

Interact with Nine API resources.

Resources

License

Stars

Watchers

Forks

Packages

 
 
 

Contributors 23

Languages