Are you stuck in the Dependency hell!!! , Tired!! of Using Docker To ship YOUR machine Env.
I know a tool called flox which will help you by introducing a TERM Called ENVIRONMENT AS CODE (EAC) -- it is a new term {let it be..... }
use this link to install flox in your system https://flox.dev/docs/install-flox/install/
Let me demonstrate the capabilities of Flox by setting up the ClamAV antivirus engine along with Cowsay in a properly configured isolated environment.
Important: Kindly install Flox in your machine before jump into the Workshop
Let's start,
- create a directory :
git init Floxtest1 && cd Floxtest1
- Initialize Flox in This Directory
flox init
- gonna install ClamAV and Cowsay
flox install clamav cowsay
- 🔒 Let's Activate the Isolated Shell
flox activate
- Run this command to check does it work
clamscan / | cowsay -f dragon
by using the cowsay -cowsay -l {List all available art}
or Download my pre-configured isolated env from the Floxhub
just two steps After creating a Directory
- Download my Pre-configured ENV from Floxhub
flox pull patrick1904-s/floxtest
- Activate The Environment
flox activate
In the flox example environment , They have shipped a bunch of preconfigured environments .
Below is a list of some of the key environments and their primary uses:
- OpenAI: Includes the OpenAI Python library to help you integrate ChatGPT into your workflows.
- PostgreSQL: Contains the popular open-source PostgreSQL database.
- Flox AI Modeling (FLAIM): Tailored for training and inference with Diffusers and Transformers.
- Ollama: Designed for pulling and running Large Language Models (LLMs) locally.
- Anthropic: Provides access to the Claude API.
- Metabase: A great environment for data analytics.
- Direnv: Automatically activates environments as you navigate between different directories.
- Jupyter Notebook: A simple way to start a notebook server.
- FLox installation : https://flox.dev/docs/install-flox/install/
- Flox Documentation : https://flox.dev/docs/
- Clamav Documentation : https://docs.clamav.net/
- Awesomeness of nix : https://github.com/nix-community/awesome-nix
- cowsay Documentation : https://pypi.org/project/cowsay/