Deploy with CLI
Build, preview, and deploy your Functions from the Blockless command line interface (CLI). Follow this guide to set up your development environment.
Install Blockless CLI
sudo sh -c "curl https://raw.githubusercontent.com/BlocklessNetwork/cli/main/download.sh | bash"
See detailed installation instructions.
Authenticate the CLI with your account
To enable deployments to Blockless, you'll need to authenticate by logging into your account via the CLI.
bls login
You will be guided to log in.
Create your function
bls function init
You will be guided to initialize a new function.
Deploy to Blockless
Navigate to the project directory, and you're ready to deploy.
bls function deploy