Skip to content

Instantly share code, notes, and snippets.

@manoj-choudhari-git
Created December 30, 2022 17:40
Show Gist options
  • Star 0 You must be signed in to star a gist
  • Fork 0 You must be signed in to fork a gist
  • Save manoj-choudhari-git/9ea3e610f4bb5a306a7deb9ce5b43af0 to your computer and use it in GitHub Desktop.
Save manoj-choudhari-git/9ea3e610f4bb5a306a7deb9ce5b43af0 to your computer and use it in GitHub Desktop.
Demo - Commands to Install Azure App Configuration Client Library
## NPM Install - App Configuration Client Library
npm install @azure/app-configuration
## PowerShell Script to Set Environment Variable
$Env:AZURE_APP_CONFIG_CONNECTION_STRING = "{app-config-store-connection-string}"
## Command Line (Windows) to set Environment Variable
setx AZURE_APP_CONFIG_CONNECTION_STRING "{app-config-store-connection-string}"
## MacOS - Set Environment Variable
export AZURE_APP_CONFIG_CONNECTION_STRING='{app-config-store-connection-string}'
## To Run the JavaScript File from PowerShell Prompt
node javascript-demo.js
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment