Arshes
English

Arshes CLI

Arshes CLI is a command-line tool that works with the Arshes app. You edit a shader on your PC and preview it on your device.

  • arshes serve watches a shader file. When you save the file, it is sent to the connected device, compiled, and previewed.
  • arshes mcp starts an MCP server. AI agents can compile and preview shaders on the connected device.

In the Arshes app, connect to Arshes CLI from Remote Editor.

Installation and usage

See the README on GitHub.

github.com/shivaduke28/arshes-cli

Resolving undefined errors in your editor

When you write a shader in an editor on your PC, attributes such as [range] and macros such as RESOLUTION_X are reported as undefined. Put arshes.slang, which defines them, in the same folder as your shader and write import arshes;.

arshes.slang

Protocol

The Remote Editor Protocol is the protocol the Arshes app uses to connect to external tools. Refer to it if you want to build your own tool like Arshes CLI.

Remote Editor Protocol v1