1. Install Homebrew
brew tap hazelops/izebrew install izeNow you can run ize from command shell by typing ize in console.
4.1 Uninstall previous version:
brew uninstall ize4.2 Update version in brew repo: `
brew tap hazelops/ize4.3 Install:
brew install izeecho "deb [trusted=yes] https://apt.fury.io/hazelops/ /" | sudo tee /etc/apt/sources.list.d/fury.listsudo apt-get updatesudo apt-get install ize sudo apt-get install ize=<version>sudo apt-get purge izeYou must install Scoop (command-line installer for Windows). To install Scoop see the following manual
To install ize with Scoop:
- Install
gitwith Scoop
scoop install git- Add bucket with the
izesource:
scoop bucket add ize https://github.com/hazelops/scoop-ize.git- Install ize:
scoop install ize- GO version should be 1.16+
GOPATHenvironment 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 installYou 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" >> ~/.zshrcTo load completions for every new session, execute once:
ize gen completion zsh > /usr/local/share/zsh/site-functions/_izeYou will need root privileges.
sudo zshInput 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/izeYou will need root privileges.
sudo bashInput your root password and run:
ize gen completion bash > /etc/bash_completion.d/izeTo take effect for this setup you should run source ~/.bashrc or simply restart shell.