Documents
Search…
Hosting CLI

Overview

Hosting offers a command-line interface for the 4EVERLAND CLI, which enables you to deploy and manage projects with a set of commands. This makes it easier for you to interact with the platform using a terminal or automated system. The commands and parameters available in the 4EVERLAND CLI are listed below.

Use

Install

You can install the 4EVERLAND CLI by running the 'npm install -g @4everland/hosting-cli' command.
nmp install -g @4everland/hosting-cli

Login

You can log into your Hosting account via the 4everland CLI by running the '4ever-hosting login' command.
4ever-hosting login

Retrieve and Enter Token

Using the CLI you will see the Token key in the settings of the Hosting UI. You can add the Token as an environment variable to your system. Click on the user's profile, select Settings, find the Tokens section, and click Create After this, the Hosting CLI is ready to use. After login, you can use the following operations:
  • To deploy a project, please run the '4ever-hosting deploy' command.
4ever-hosting deploy
(1) Please complete the domain binding procedure in the console based on the 'value' and 'type'. Value is '139.95.1.121'
(2) Please complete the domain binding procedure in the console based on the 'value' and 'type'. Value is 'cname.ddnsweb3.com'
(3) Viewing Domain List. You can view the domain list for the current project by running the '4ever-hosting domain -ls' command
4ever-hosting domain -ls
(4) Validate Domain, after setting the 'value', please validate if the domain is correctly bound by running the '4ever-hosting domain -c' command
4ever-hosting domain -c
More info is linked to the Github repository.
Copy link
On this page
Overview
Use
Install
Login