A minimalist OSS CAD Suite version manager inspired by fnm.
For Unix shells, use the automatic installation script:
$ curl -fsSL https://raw.githubusercontent.com/nishtahir/icicle/main/.ci/install.sh | bash
To uninstall icicle
and all installed toolchains, delete the ~/.icicle
directory.
For manual installation, download the latest release from the releases page. Extract the archive and move the icicle
binary to a directory in your PATH
. Then add the following to your shell profile:
# ~/.bashrc
eval "$(icicle env)"
$ icicle --help
CLI for OSS CAD Suite toolchain management
Usage: icicle [COMMAND]
Commands:
use Change the oss cad toolchain version
default Set an installed toolchain as the default toolchain
install Install an OSS CAD Suite toolchain
current Print the active oss cad toolchain version
env Print and setup required environment variables for icicle
list List installed toolchain versions
uninstall Uninstall an OSS CAD Suite toolchain
help Print this message or the help of the given subcommand(s)
Options:
-h, --help Print help
-V, --version Print version
-
install
- Installs a new OSS Cad Suite toolchain. You can either provide a version to install or a version in a.icicle-toolchain
file.// .icicle-toolchain 2022-07-12 $ icicle install ... // or $ icicle install 2022-07-12
-
uninstall
- Uninstalls an OSS Cad Suite toolchain$ icicle uninstall 2022-07-12
-
list
- List all installed OSS Cad Suite toolchains$ icicle list * 2022-07-15 (default) * 2022-07-12 * 2022-07-28
-
current
- Print the installed OSS CAD Suite toolchain active in the shell session$ icicle current 2022-07-15
-
use
- Set an installed version of the OSS CAD Suite toolchain as the current version linked in the shell session$ icicle use 2022-07-28 $ icicle current 2022-07-28
-
default
- Set an installed version of the OSS CAD Suite toolchain as the default version linked with new shell sessions$ icicle default 2022-07-28 Setting 2022-07-28 as default.
Copyright (C) 2022 Nish Tahir
This program is free software: you can redistribute it and/or modify
it under the terms of the GNU General Public License as published by
the Free Software Foundation, either version 3 of the License, or
(at your option) any later version.
This program is distributed in the hope that it will be useful,
but WITHOUT ANY WARRANTY; without even the implied warranty of
MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
GNU General Public License for more details.
You should have received a copy of the GNU General Public License
along with this program. If not, see <https://www.gnu.org/licenses/>.