Using sven
Connect a computer for sven to work on
Connect a computer and sven works on it: in the folder you choose, with the tools already installed there. You follow and steer it from the browser, on that computer or any other. Nothing has to be copied anywhere first.
What you need#
- A computer running macOS or Linux (x86_64 or aarch64). Windows is coming soon and is not supported yet.
- A sven account.
Connect it#
-
Install sven on the computer. It installs into your home directory and needs no administrator rights.
bashcurl -fsSL https://sven.swedishembedded.com/install.sh | sh -
Sign the computer in to your account.
bashsven auth loginThe command opens your browser, where an admin of the account approves the named computer. Over SSH, or with no browser, the command shows a code to paste on the approval page instead.
-
Start sven in your project.
bashcd your-project && sven rc
The computer now appears where a conversation chooses where it runs. Choose it for a new conversation and ask for what you want done: reading and editing files, running your builds and tests.
How it connects#
The computer connects out to sven when you start it. There is no port to open and no address to publish. Signing a computer in needs a code you approve in your account, and a computer can be disconnected at any time by stopping the command.
Decide how much sven does alone#
By default sven asks before each step that runs a command or changes a file, and you approve or refuse from the conversation. In auto-accept mode it goes ahead without asking. Choose the starting mode under Settings, Chat and switch any conversation below its message box. Stop the work at any time with the stop button.
What is charged#
The model's work is charged like any conversation, at the price of the model you chose. Running on your own computer adds no charge of its own.
More#
The command-line interface has its own guides, including remote control in depth: Remote control guide.