Search
 
SCRIPT & CODE EXAMPLE
 
CODE EXAMPLE FOR SHELL

installing choclatey no adminstrative rights

# Set directory for installation - Chocolatey does not lock
# down the directory if not the default
$InstallDir='C:ProgramDatachocoportable'
$env:ChocolateyInstall="$InstallDir"

# If your PowerShell Execution policy is restrictive, you may
# not be able to get around that. Try setting your session to
# Bypass.
Set-ExecutionPolicy Bypass

# All install options - offline, proxy, etc at
# https://chocolatey.org/install
iex ((New-Object System.Net.WebClient).DownloadString('https://community.chocolatey.org/install.ps1'))
# PowerShell 3+?
#iwr https://community.chocolatey.org/install.ps1 -UseBasicParsing | iex

choco install puppet-agent.portable -y
choco install ruby.portable -y
choco install git.commandline -y

# pick an editor
#choco install visualstudiocode.portable -y # not yet available
choco install notepadplusplus.commandline -y
#choco install nano -y
#choco install vim-tux.portable

# What else can I install without admin rights?
# https://community.chocolatey.org/packages?q=id%3Aportable
Source by community.chocolatey.org #
 
PREVIOUS NEXT
Tagged: #installing #choclatey #adminstrative #rights
ADD COMMENT
Topic
Name
5+6 =