CLI Setup¶
SenfCLI allows you to sync .env files from different backends and keeps track of unsynced changes.
Setup¶
Installation¶
- Visit Releases and download the files for your system.
- Extract the archive and follow the instructions for your target OS
Windows:
- Press
Win+Rand enter%LOCALAPPDATA%\Programs - Create a new directory called
Senf - Paste the
.exefrom the extracted archive into this folder - Open a terminal and execute the following Powershell command:
Linux:
- Copy the executable into
/usr/local/bin - If you have any active terminal sessions, restart them or run
source ~/.bashrc
MacOS: Currently not supported.
Profile Configuration¶
A Senf user profile is a reference to which SSH key should be used for which API backend.
Prerequisites¶
A new user can only be created with direct access to the backend while user profiles are created only locally on your machine. For more information about how to add a user, visit the Backend Guide
For authentication, Senf uses SSH keys. They are typically located at ~/.ssh or you can create a new key by running
If you are on Windows, you may need to enable the OpenSSH Client first.
New Userprofile¶
New Machine¶
When you want to sync files between multiple machines, you need to allow the machine through another SSH key onto the same backend user