Skip to content

Mimic 0.3.18

Choose a tag to compare

@github-actions github-actions released this 17 Nov 13:28
· 218 commits to main since this release
2c339f4

Release channels: previews of the next version and nightly builds, alongside stable releases.

Added

  • Release channels: mimic upgrade --preview installs the newest preview of the next version (or stable, when it is newer) and mimic upgrade --nightly the nightly build of the development branch; the channel is remembered, so later mimic upgrades stay on it, and --stable goes back. The install commands take the same options (sh -s -- --preview, $env:MIMIC_CHANNEL = "nightly" on Windows). Stable stays the default, and previews and nightlies never reach the install command or the website unless asked for.

Changed

  • How Mimic is developed: work comes together on a dev branch through reviewed pull requests, main holds releases only, and a nightly build and weekly previews keep each long step visible (docs/versions.md).

Install

Download the file for your system below and unpack it. Then run the install script inside: it copies mimic to ~/.mimic/bin, puts that folder on your PATH, and checks what your system needs.

System File Install Also needed
Windows x86_64 (10, 11) mimic-0.3.18-windows-x86_64.zip Double-click install.cmd Nothing: Windows programs are linked with the MinGW-w64 inside mimic.
macOS Apple silicon mimic-0.3.18-macos-arm64.tar.gz ./install.sh The Xcode Command Line Tools (xcode-select --install), for the macOS SDK.
Linux x86_64 mimic-0.3.18-linux-x86_64.tar.gz ./install.sh glibc 2.28 or newer (Ubuntu 20.04, Debian 10, RHEL 8 or later) and a C compiler (cc) to link native programs. --target x86_64-linux needs nothing else.

On Windows, if double-clicking install.cmd does nothing (some company PCs block scripts), open PowerShell in the unpacked folder and run:

powershell -NoProfile -ExecutionPolicy Bypass -File ".\install.ps1"

The script says if something is missing and how to install it. Open a new terminal afterwards so the new PATH applies.

Upgrading from an earlier Mimic: run the new install script the same way. It replaces the old mimic, clears the build cache the old version left in ~/.mimic/cache (it is rebuilt on first use), and keeps your projects and installed libraries. If another mimic comes first on your PATH, it says where, and offers to remove it.

  • macOS: the script clears the download quarantine. If you copy mimic by hand instead, run xattr -d com.apple.quarantine mimic once.
  • Windows: the script unblocks the downloaded files. SmartScreen may still ask the first time: "More info" → "Run anyway".
  • Uninstall: ./install.sh --uninstall, or install.cmd -Uninstall on Windows. Your projects are not touched.

First program

mimic create hello
cd hello
mimic run

mimic --help lists every command. SHA256SUMS has the checksum of each file.