Archetect
Archetect is a code-centric, language agnostic content generator, capable of generating single files, complex projects, or entire architectures.
Archetect is only required if your organization allows projects to be created locally using templates. If projects are created through a centralized portal or CI/CD system, you do not need to install Archetect.
Installation
- Windows
- macOS
- Linux
A Windows Installer is available on the Archetect GitHub Releases page. The installer will be named like archetect-vX.X.X-windows-x86_64-installer.exe.
Download and run the installer:
- Download the installer from the releases page
- Run the installer
Windows may view this installer as coming from an "Untrusted Source". You will need to override the exceptions to allow the installation.
The installer automatically:
- Adds archetect to
Pathenvironment variable - Sets
core.longpaths=trueto support Long File Path for Git - Sets registry
HKEY_LOCAL_MACHINE\SYSTEM\CurrentControlSet\Control\FileSystem\LongPathsEnabledto1to enable Long Path Support for Windows
The Windows x86_64 installer works on both x86_64 and arm64 architectures.
Alternative: Manual installation from binary
If you prefer to use the pre-compiled binary directly:
# Download the appropriate binary from releases page
# Extract and place in a directory on your PATH
# Enable Git with Long File Name Support
git config --global core.longpaths true
# Enable Windows OS Long File Name Support (requires admin privileges)
# Set HKEY_LOCAL_MACHINE\SYSTEM\CurrentControlSet\Control\FileSystem\LongPathsEnabled to 1
Using Homebrew (recommended):
# Add the Archetect tap
brew tap archetect/tap
# Install archetect
brew install archetect
Alternative: Pre-compiled binary
Download the appropriate binary for your architecture from the Github Releases page:
# Example for Apple Silicon (arm64)
# Download archetect-vX.X.X-macos-arm64.tar.gz
# Extract and move to your PATH
tar -xzf archetect-vX.X.X-macos-arm64.tar.gz
sudo mv archetect /usr/local/bin/
Using pre-compiled binaries:
Download the appropriate binary for your architecture from the Github Releases page:
# Example for x86_64
# Download archetect-vX.X.X-linux-x86_64.tar.gz
# Extract and install
tar -xzf archetect-vX.X.X-linux-x86_64.tar.gz
sudo mv archetect /usr/local/bin/
# Make executable
sudo chmod +x /usr/local/bin/archetect
Install From Source (All Platforms)
If you have Rust installed, you can build Archetect from source on any platform:
git clone git@github.com:archetect/archetect.git
cd archetect
cargo install --path archetect-bin
This method works on Windows, macOS, and Linux.
Verify Installation
- Windows
- macOS
- Linux
archetect --version
archetect --version
archetect --version
Related
- Archetect Documentation - Official documentation and usage guide
- Archetect GitHub Repository - Source code and releases
- Archetypes - Using archetypes to create projects