Frequently Asked Questions
General Questions
What is Razd?
Razd is a command-line tool that automates project setup by integrating git, mise, and taskfile. Instead of running multiple commands to clone, install tools, and set up a project, you can do it all with a single razd up command.
How is Razd different from other setup tools?
Razd is unique because it:
- Integrates existing tools rather than replacing them
- Requires zero configuration for most projects
- Works cross-platform with consistent behavior
- Focuses on developer experience with clear error messages
- Respects project autonomy - projects control their own setup
Do I need to modify my existing projects to use Razd?
No! Razd works with existing mise and taskfile configurations. If your project already uses .mise.toml and Taskfile.yml, Razd will work immediately with no changes required.
Installation and Setup
Which platforms does Razd support?
Razd works on:
- Windows (PowerShell, Command Prompt, WSL)
- macOS (Intel and Apple Silicon)
- Linux (all major distributions)
Do I need to install mise and task separately?
You need mise installed, but task is optional. If task isn't available, Razd will install it automatically via mise when needed.
Can I use Razd without mise?
Currently, mise is required for tool management. If your project doesn't use mise, Razd will still work but won't install any tools automatically.
How do I update Razd?
With mise:
mise use -g razd@latestFor manual installations, download the latest binary from GitHub releases.
Usage Questions
What happens when I run razd up?
razd up performs these steps:
- Clone: If a URL is provided, clone the repository
- Detect: Look for
.mise.tomlandTaskfile.yml - Install: Run
mise installif configuration is found - Setup: Run
task setupif Taskfile is found - Report: Show what was accomplished
Can I use razd up on an existing project?
Yes! Running razd up in an existing project directory will:
- Skip the clone step
- Install tools via mise (if configured)
- Run setup tasks (if available)
What if my project doesn't have a setup task?
Razd will skip the setup step and let you know. You can create a setup task in your Taskfile.yml to define what should happen during project initialization.
Can I customize which task runs during setup?
Currently, Razd runs the setup task by default. Custom task configuration is planned for future releases. For now, you can:
- Use
razd install+razd task your-custom-task - Create a
setuptask that calls your custom tasks
How do I see what tasks are available?
razd task --list
# or
task --listConfiguration and Customization
What is a Razdfile.yml?
A Razdfile.yml is an optional configuration file that allows you to customize Razd's behavior. You can create one with:
razd initCan I configure Razd globally?
Yes, you can create a global configuration file at ~/.config/razd/config.yml or use environment variables like RAZD_VERBOSE=1.
How do I set up Razd for my team?
- Ensure your project has
.mise.tomlwith required tools - Create a
Taskfile.ymlwith asetuptask - Team members just run
razd upto get started - Consider adding a
Razdfile.ymlfor project-specific configuration
Can I use Razd with monorepos?
Yes! Razd works well with monorepos. You can:
- Have a top-level setup for shared tools
- Use individual Taskfiles in each package
- Run
razd upfrom any directory with configuration
Troubleshooting
"Command not found: razd"
This means Razd isn't in your PATH. Solutions:
- Reinstall using the installation guide
- Check that the binary is executable (
chmod +x razdon Unix) - Verify your PATH includes the installation directory
"mise command not found"
Razd requires mise for tool management:
# Install mise
curl https://mise.jdx.dev/install.sh | sh
# or
brew install miseSetup fails with "Task 'setup' not found"
Your Taskfile.yml doesn't have a setup task. You can:
- Add a
setuptask to your Taskfile - Use
razd installto just install tools - Run tasks manually with
razd task task-name
Tools aren't being installed
Check that:
- You have a
.mise.tomlor.tool-versionsfile - The file is properly formatted
- You have network access for tool downloads
- mise is working:
mise doctor
Git clone fails
Common causes:
- Repository doesn't exist: Check the URL
- No access: Verify your credentials for private repos
- Network issues: Check your internet connection
- SSH keys: For SSH URLs, ensure your keys are set up
Tasks fail to run
Debugging steps:
- Run with verbose output:
razd --verbose task task-name - Check task definition in
Taskfile.yml - Verify all dependencies are installed
- Try running the task directly:
task task-name
Project Setup
How do I create a new project with Razd?
- Create a new directory:
mkdir my-project && cd my-project - Initialize configuration:
razd init - Edit the generated files to match your needs
- Add your project files
- Test with
razd up
What should go in my setup task?
Common setup tasks include:
setup:
deps: [install-deps, setup-env, setup-db]
cmds:
- echo "Project setup complete!"
install-deps:
cmds:
- npm install # or pip install, etc.
setup-env:
cmds:
- cp .env.example .env
setup-db:
cmds:
- task db:create
- task db:migrateHow do I handle sensitive configuration?
Best practices:
- Use
.env.examplefiles with placeholder values - Copy to
.envin your setup task - Never commit sensitive values to git
- Use mise for managing API keys when possible
Integration Questions
Can I use Razd in CI/CD?
Absolutely! Razd is perfect for CI/CD:
# GitHub Actions example
- name: Setup project
run: razd upBenefits:
- Consistent environment setup
- Faster than manual steps
- Easy to maintain
Does Razd work with Docker?
Yes! You can:
- Use Razd to set up projects that use Docker
- Run Razd inside Docker containers
- Include Docker tools in your
.mise.toml
Can I use Razd with existing build tools?
Razd complements existing tools:
- npm/yarn: Works great with Node.js projects
- cargo: Perfect for Rust projects
- pip/poetry: Excellent for Python projects
- make: Can be used alongside or instead of task
How does Razd work with IDEs?
Razd sets up your project environment, which IDEs can then use:
- VS Code: Will detect tool versions automatically
- IntelliJ: Can use mise-managed tools
- Vim/Neovim: Works with any LSP configuration
Performance and Best Practices
How fast is Razd?
Razd is designed for speed:
- Written in Rust for performance
- Parallel tool installation where possible
- Smart caching reduces repeat operations
- Typical setup: 30 seconds to 2 minutes depending on project size
Best practices for team adoption?
- Start simple: Begin with basic
.mise.tomlandTaskfile.yml - Document setup: Include Razd instructions in your README
- Provide examples: Show common commands and workflows
- Test regularly: Verify setup works on clean environments
- Be consistent: Use similar patterns across projects
How do I optimize setup performance?
Tips for faster setup:
- Use mise caching: Tools are cached after first install
- Parallel tasks: Use task dependencies smartly
- Minimal installs: Only include necessary tools in
.mise.toml - Local mirrors: Use local package mirrors when available
Getting Help
Where can I get support?
- Documentation: This site covers most common scenarios
- GitHub Issues: Report bugs or request features
- GitHub Discussions: Community Q&A
How do I report a bug?
Please include:
- Your operating system and version
- Razd version (
razd --version) - Complete error message
- Steps to reproduce
- Expected vs actual behavior
How can I contribute?
We welcome contributions:
- Documentation: Improve these docs
- Bug reports: Help us find and fix issues
- Feature requests: Suggest improvements
- Code: Submit pull requests
- Examples: Share your project setups
Check the GitHub repository for more details on contributing.
