Install behind proxy / multiuser install / %USERNAME% or %USERPROFILE% or %HOMEPATH% as variable

Hello,

at work I would like to install latest Arduino IDE (2.2.1).
But we are behind a proxy.

C:\Users\myusername\.arduinoIDE\arduino-cli.yaml

looks like

board_manager:
  additional_urls:
  - https://raw.githubusercontent.com/espressif/arduino-esp32/gh-pages/package_esp32_index.json
build_cache:
  compilations_before_purge: 10
  ttl: 720h0m0s
daemon:
  port: "50051"
directories:
  builtin:
    libraries: C:\Users\myusername\AppData\Local\Arduino15\libraries
  data: c:\Users\myusername\AppData\Local\Arduino15
  downloads: C:\Users\myusername\AppData\Local\Arduino15\staging
  user: c:\Users\myusername\Documents\Arduino
library:
  enable_unsafe_install: false
locale: en
logging:
  file: ""
  format: text
  level: info
metrics:
  addr: :9090
  enabled: true
network:
  proxy: http://cache.domain.fr:3128/
  user_agent_ext: daemon
output:
  no_color: false
sketch:
  always_export_binaries: false
updater:
  enable_notification: true

is there a way to use a variable to replace myusername ?

How are you managing multiuser install behind a proxy to avoid each user to have to define its how proxy (and also additional board) settings

Kind regards

PS : changing C:\Users\myusername by %USERPROFILE% doesn't seems to help

This topic was automatically closed 180 days after the last reply. New replies are no longer allowed.