Quick start
From nothing to your first project on Zaryn in about five minutes. Every command is explained as you go.
Search for a command to run…
From nothing to your first project on Zaryn in about five minutes. Every command is explained as you go.
This page takes you from nothing to a project saved on your computer and shared on Zaryn. You don't need to know git or any other version control tool. Each step says what the command does and why.
On Linux or macOS, open a terminal and run:
curl -fsSL https://zaryn.xyz/install.sh | shOn Windows, open PowerShell and run:
irm https://zaryn.xyz/install.ps1 | iexCheck that it worked:
zev --versionYou should see something like zev 0.3.0 (x86_64-linux). More options, such as apt, dnf or pacman, are on the Installation page.
Go to the folder of your project (or make a new one) and turn it into a zev repository:
mkdir my-projectcd my-projectzev initzev init creates a hidden .zev folder. That is where zev keeps the history. Your own files stay exactly as they are.
Tell zev who you are. Your name goes on every commit you make:
zev config set user.name "Your Name"zev config set user.email "you@example.com"Create a file, or use the files you already have:
echo "# My project" > README.mdSaving a version takes two steps:
zev add .zev commit -m "First version"zev add . picks what goes into the next save. The . means "everything in this folder". This is called staging.zev commit -m "..." saves what you staged, with a short message about what you did. Each save is called a commit.Why two steps? Because you often change many files but want to save only some of them together. zev add lets you choose.
Edit README.md, then ask zev what changed:
zev statuszev status lists the files you changed, the files you staged, and new files zev doesn't track yet. Each section of its output also says which command to run next.
To see the exact lines that changed:
zev diffLines starting with + were added and lines starting with - were removed. When you're happy, save again:
zev add README.mdzev commit -m "Describe the project"See all your saves so far:
zev log --onelineCreate your account from the terminal. zev emails you a 6-digit code to confirm your address:
zev login zaryn.xyz --register your-username --email you@example.comType the code when zev asks for it. You sign in once per computer; every project on it uses the same sign-in.
Already made an account on the zaryn.xyz website? Then sign in with your browser instead:
zev login zaryn.xyz --devicezev prints a link and a short code. Open the link, check the code matches, and approve.
Now create the project on Zaryn and send your commits there:
zev newzev pushzev new asks for a name, the kind of project, public or private, and a license. It creates the repository on Zaryn and remembers it as origin, the default place to push to. zev push sends your commits. Open https://zaryn.xyz/your-username/the-name to see them.
Most days, you only need these five commands:
zev status # what changed?zev diff # how exactly?zev add . # choose what to savezev commit -m "what you did" # save itzev push # share itWhen you work with others, run zev pull first to get their latest changes.
/ on any docs page to search.