/nimblex

Run command line tools directly from the Nimble Directory

Primary LanguageNim

NimbleX

Like npx for Nim, this tool lets you run a package directly from the Nimble Directory. Packages will be installed if not found. Examples:

# Start a static HTTP server
nimblex staticserver
# Start the Moe editor
nimblex moe
# Use c2nim
nimblex c2nim --help

This tool will first search for the binary/package name on the PATH, so it's safe to just prefix any command with nimblex even if they don't come from Nim:

nimblex echo "Hi" > file.txt
nimblex ifconfig
nimblex pwd