CLI Configuration
Proper configuration is essential for using the JuliaOS CLI effectively. This includes setting up environment variables, configuration files, and understanding the project structure.
Environment Variables
Copy
.env.example
to.env
in the project root.Fill in required variables (RPC URLs, API keys, etc.):
Configuration Files
julia/config.toml
: Main backend configuration (copy fromconfig.example.toml
and edit as needed).tokens.json
,bridges.json
, etc.: Used for token and bridge mappings.
Starting the CLI
Start the Julia backend server first:
In a separate terminal, start the CLI:
Project Structure Reference
/julia
: Julia backend code and config/packages/cli
: CLI source code/packages/framework
: Core JS/TS components/packages/bridges
,/packages/wallets
: Integrations/scripts
: Utility scripts/docs
: Documentation
Best Practices
Use version control for configuration files, but never commit secrets or private keys.
Use
.env
for sensitive variables and ensure it's in.gitignore
.Refer to the Setup & Conventions guide for more details.