Command line tool for Airtable Blocks development
To install or update the
block cli, run:
npm install --global @airtable/blocks-cli
Running the block locally
Go to the block's directory and run:
This will start a local server and serve the bundle over https locally, with a self-signed certificate.
Once the server is started paste the bundle URL into the "Edit block locally" dialog in Airtable.
The block's frame will switch to the local development bundle. It will automatically reload when you update the code locally.
Updating your API key
block release, you must have a valid Airtable API key configured. Use
block set-api-key to
We support user (
~/.config/.airtableblocksrc.json) and block (
block directory) scoped configs, and prefer the block scoped config if both exist.