Note: Fish environment variable for just one command

January 2, 2022
command-line fish

Happy Fish shell user for years, but I’m never able to remember how to set an environment variable for a single command. Maybe I’ll remember if I write it down:

env SOME_VAR=1 command
Cargo modules From Lisp to Python, but why Peter?