codecli is a command-line interface tool for creating and managing secure code-server IDE private users using SystemD and Docker services.
- Quick create code-server workspace in root
- Create and manage SystemD workspaces
- Create and manage Docker containers
- Limit RAM and CPU usage for workspaces
- Manage user accounts and passwords
- Schedule workspace deletions
- Backup workspaces to cloud storage
- Monitor port usage and container status
Make sure you have root access before doing this installation.
sudo curl -fsSL https://jayanode.com/api/mirror/codecli/build?raw=true | sudo bash
codecli must be run as root. The general syntax is:
codecli [command] [argument] [argument]
To see all available commands:
codecli help
To quickly create a code-server workspace in root:
codecli quickcreate
- Debian-based systems (Ubuntu 24.04)
codecli supports backing up workspaces to various cloud storage providers using Rclone.
To set up a backup, use the codecli backup
command and follow the prompts.
To update codecli to the latest version, run:
codecli update
This project is licensed under the MIT License.
If you have any problem in using codecli, please open a new issue.