This article is not yet complete. If you have any questions, please feel free to ask in the Discussion.
Also, if you would like to contribute to this article, feel free to open a Pull Request on our GitHub Repository.
Deploy Service in Zeabur CLI
Deploy services with one click in dashboard is easy, but if you want to deploy services in your terminal with one command, we’ve got you covered.
Install Zeabur CLI
Zeabur CLI is a command line tool that helps you to deploy services in your terminal.
# HomeBrew (Linux and macOS)
brew install zeabur/tap/cli
# Using Script (Linux and macOS)
curl -sSL https://dub.sh/zeabur | bash
# Windows Users
iwr -useb https://dub.sh/zb-win | iex
You can also download the binary file from GitHub Release Page.
You can check the status of CLI with zeabur --help
command to make sure it’s installed correctly.
zeabur --help
Login your account
After the installation is complete, you need to login your account to deploy services.
zeabur auth login
Press Enter
to open the login page in your browser, and then click on the Confirm
button, you will be redirected to the terminal and see the login success message.
Deploy service
Now you are ready to deploy your service, just run the following command in your service directory.
zeabur
Then you need to follow the guide to select or create a project where your service will be deployed.
After that, you will see the deployment progress in your terminal. Wait for a few seconds, your service will be automatically deployed, and you will get the service URL in the terminal.