Install age

At first, you need install age into your machine.

Patterns

You can age by some approach.

Get built binary

You can download and use from GitHub Releases.

Todo

Write recommend installation.

curl -L https://github.com/attakei/age/releases/download/v0.10.2/age-v0.10.2_macos_arm64.zip | bsdtar x -
chmod +x age-v0.10.2/age
cp age-v0.10.2/age /path/to/bin/
curl -L https://github.com/attakei/age/releases/download/v0.10.2/age-v0.10.2_linux_x86-64.zip | bsdtar x -
chmod +x age-v0.10.2/age
cp age-v0.10.2/age /path/to/bin/

Using aqua

aqua is CLI version manager for cross-platform.

We provide custom registry for aqua. You can install by using registry.

registries:
- type: standard
  ref: v4.371.2 # renovate: depName=aquaproj/aqua-registry
# Add
- name: attakei/age
  type: github_content
  repo_owner: attakei
  repo_name: age
  ref: main
  path: registry.yaml
registries:
  - type: standard
    ref: semver(">= 3.0.0")
  # Add
  - name: attakei/age
    type: github_content
    repo_owner: attakei
    repo_name: age
    ref: main
    path: registry.yaml
packages:
  - registry: standard
  - registry: attakei/age

Using Nimble

Todo

This is only plan yet.

You can install by nimble install command, if you are user or developer of Nim-lang and there is Nim environment on your machine.

This is suitable for:

  • Want to manage cargo-driven files on single workspace.

  • Want to use with latest source.

nimble install [email protected]

When you want to install other version

Todo

Write later.

After install

Please try running age command to check installed rightly.

age --version

When console displays version-text, Installation is successfully!!