https://github.com/anthonychu/funcvm
Unofficial version manager for Azure Functions Core Tools
https://github.com/anthonychu/funcvm
Last synced: about 1 year ago
JSON representation
Unofficial version manager for Azure Functions Core Tools
- Host: GitHub
- URL: https://github.com/anthonychu/funcvm
- Owner: anthonychu
- License: mit
- Created: 2021-11-01T04:43:49.000Z (over 4 years ago)
- Default Branch: main
- Last Pushed: 2021-11-10T09:45:55.000Z (over 4 years ago)
- Last Synced: 2025-04-13T04:04:46.261Z (about 1 year ago)
- Language: JavaScript
- Homepage:
- Size: 39.1 KB
- Stars: 9
- Watchers: 2
- Forks: 3
- Open Issues: 1
-
Metadata Files:
- Readme: README.md
- License: LICENSE
Awesome Lists containing this project
README
# Azure Functions Core Tool Version Manager (funcvm)
[](https://www.npmjs.com/package/@anthonychu/funcvm)
funcvm installs and manages Azure Functions Core Tool versions. This tool is not officially supported by Microsoft.
Use it to:
* Quickly switch between different versions of Azure Functions Core Tools
* Use prerelease versions of Azure Functions Core Tools
* Use different versions of Azure Functions Core Tools in different projects
## Installation
**Important: Uninstall all previously installed versions of Azure Functions Core Tools before using funcvm.**
To check if you have any versions of Azure functions Core Tools already installed, run the following command and uninstall any versions that are listed:
```bash
# macOS or Linux
which func
# Windows PowerShell
Get-Command func
# Windows Command Prompt
where func
```
Install funcvm with the following command:
```bash
npm install -g @anthonychu/funcvm
```
## Usage
### Use latest stable version
Install and use the latest stable 4.x version of Azure Functions Core Tools:
```bash
funcvm use 4
# confirm that it's correctly installed
func --version
```
### Use a specific version
Install and use a specific version of Azure Functions Core Tools:
```bash
funcvm use 3.0.3785
```
You can find all available versions, including prerelease versions, by checking [GitHub releases](https://github.com/Azure/azure-functions-core-tools/releases).
### Use a different version than the currently selected version
#### Environment variable
You can set the `FUNCVM_CORE_TOOLS_VERSION` environment variable to use a different version of Azure Functions Core Tools than the currently selected version.
```bash
export FUNCVM_CORE_TOOLS_VERSION=3.0.3873
func --version
# this should print 3.0.3873
```
#### Local version file
You can save a file named `.func-version` in any folder to use a different version of Azure Functions Core Tools than the globally selected version.
```bash
funcvm use 4 --local
```
---
**Note:** This is a community open source project that is not officially supported by Microsoft.