Skip to content

flox/flox-direnv

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

15 Commits
 
 
 
 
 
 

Repository files navigation

Installation

The Flox Direnv intigation can be installed in the following ways.

By using Direnv's source_url:

source_url "https://raw.githubusercontent.com/flox/flox-direnv/v1.1.0/direnv.rc" 'sha256-c2YCane8WGmYeCDc9wIZyVL8AgbdfhPaEoM+5aFuysw='

By copying the direnv.rc file into the ~/.config/direnv/lib/ directory

$ curl -o "${HOME}/.config/direnv/lib/flox-direnv.sh" "https://raw.githubusercontent.com/flox/flox-direnv/v1.1.0/direnv.rc" 

Usage

Add the following to your project's .envrc file.

$ echo 'use flox' >> .envrc

If you'd like to use a remote environment instead of the local one, populate your .envrc as follows.

$ echo 'use flox --remote=<owner>/<name>' >> .envrc

And to trust the remote envrionment explicitly.

$ echo 'use flox --trust --remote=<owner>/<name>' >> .envrc

Hello from the Flox team!

...

About

direnv library for using Flox in your .envrc enabled projects

Topics

Resources

License

Stars

Watchers

Forks

Packages

No packages published

Contributors 4

  •  
  •  
  •  
  •