Quick Start
Prerequisites
You'll need git and SSH. Most developers already have these.
SSH Key Required
You need an SSH key loaded in your SSH agent. Check with ssh-add -l. If you see keys listed, you're good to go!
Install the CLI
Download and Install
bash
# Clone and build from source git clone ssh://git@codeanvil.io:2222/~/anvil cd anvil && cargo build --release sudo cp target/release/anvil /usr/local/bin/
Verify Installation
bash
anvil --version # Output: anvil 0.1.0
Register
bash
anvil user register you@example.com # Output: # Account registered successfully! # Email: you@example.com
Your SSH key is now linked to your account.
Create a Repository
bash
cd my-project # Initialize git if needed git init git add . git commit -m "Initial commit" # Create repo and set remote anvil repo setup # Output: # Repository 'my-project' created # Remote 'origin' added
Push
bash
git push -u origin main