1. Install Homebrew
brew tap hazelops/ize
brew install ize
Now you can run ize
from command shell by typing ize
in console.
4.1 Uninstall previous version:
brew uninstall ize
4.2 Update version in brew repo: `
brew tap hazelops/ize
4.3 Install:
brew install ize
echo "deb [trusted=yes] https://apt.fury.io/hazelops/ /" | sudo tee /etc/apt/sources.list.d/fury.list
sudo apt-get update
sudo apt-get install ize
sudo apt-get install ize=<version>
sudo apt-get purge ize
You must install Scoop (command-line installer for Windows). To install Scoop see the following manual
To install ize
with Scoop:
- Install
git
with Scoop
scoop install git
- Add bucket with the
ize
source:
scoop bucket add ize https://github.com/hazelops/scoop-ize.git
- Install ize:
scoop install ize
- GO version should be 1.16+
GOPATH
environment variable is set to~/go
To install Ize from source download code or clone it from this repo. After this you should run:
go mod download
make install
You could use integrated option to add autocompletion to Ize commands (bash, fish, zsh, powershell). In this manual we will describe it only for zsh and bash.
To add autocompletion script, use the following manual:
If shell completion is not already enabled in your environment you will need to enable it. You should execute the following once:
echo "autoload -U compinit; compinit" >> ~/.zshrc
To load completions for every new session, execute once:
ize gen completion zsh > /usr/local/share/zsh/site-functions/_ize
You will need root privileges.
sudo zsh
Input your root password and run:
ize gen completion zsh > "${fpath[1]}/_ize"
To take effect for this setup you should run source ~/.zshrc
or simply restart shell.
Autocompletion script depends on the bash-completion
package.
If it is not installed already, you can install it via your OS’s package manager.
To load completions for every new session, you should execute once:
ize gen completion bash > /usr/local/etc/bash_completion.d/ize
You will need root privileges.
sudo bash
Input your root password and run:
ize gen completion bash > /etc/bash_completion.d/ize
To take effect for this setup you should run source ~/.bashrc
or simply restart shell.