To install the CLI, run the following command:
npm install -g @4everland/hosting-cli
You can view the current version of the 4everland CLI by running the command:
You can login your Hosting account via the 4everland CLI by running the command:
You can see your token in the Hosting setting.
The following operations are available only after successful login:
- Project Deployment
- Domain Operation
To deploy a project, please run the '4ever-hosting deploy' command.
After entering the build command you need to do two steps
- Give the project a name.
- Select the platform on which the project will be deployed.
Build and deploy a project to a given platform, run the following command.
- Deploy on IPFS
4ever-hosting deploy -ipfs
- Deploy on Arweave
4ever-hosting deploy -ar
- Deploy on Internet Computer
4ever-hosting deploy -ic
IPNS can be obtained by running the '
4ever-hosting ipns' command in the project directory.
If you need to see all the CLI commands, you can run the help command.