coenv is a tool to install a conan package and source/activate it's conan run environment in one shot. Packages can be local, or remote.
✅ Fast auto-completion for local/remote package names.
✅ conan 2 (Linux only)
✅ conan 1, (check conan 1 branch).
It can be really handy for conan packages that include executables and you want to quickly run them.
- Copy and run the following command.
curl "https://raw.githubusercontent.com/hasauino/coenv/conan_2/coenv" --create-dirs -o /home/${USER}/.coenv/coenv && printf "\n# Add coenv command\n. /home/$USER/.coenv/coenv" >> ~/.bashrc && source ~/.bashrc
- Use
coenv
😉 (check examples)
- Install and activate (conan virtualenv) a package:
- Install a package that appends an executable to
PATH
:
-
coenv
will search local package only for auto-complete suggestions. To make it also show remote packages, you need to run:coenv update
this will update
~/.coenv/index
text file that holds all remote package names. You need to run it every now and then if needed! (it's optional)